PHP Tutorials

Whether just getting started or an expert, this vast collection of PHP tutorials will help you create dynamic content for powerful web-based applications in no time.

Results via Envato Market

By Ying Zhang on July 30, 2000 Formatting with Custom Markup Tags You can provide your own special markup tags for the user to use. For example, you can allow the to use [b]…[/b] for bolding, and [i]…[/i] for italics. Those would be simple string replace operations: $output = str_replace(“[b]”,…

By Ying Zhang on July 30, 2000 Some notes: Remember to do string replacements after you call htmlspecialchars() and not before, otherwise all your hard work in turning your custom markups into HTML markups will be lost when you call htmlspecialchars(). Remember to search for the HTML entity and in…