Escaping from HTML
There are four ways of escaping from HTML and entering “PHP code mode”:
|1. <? echo (“this is the simplest, an SGML processing instruction\n”; ?>
2. <?php echo(“if you want to serve XHTML or XML documents,
What is PHP?
PHP (officially “PHP: Hypertext Preprocessor” is a server-side HTML-embedded scripting language.
Simple answer, but what does that mean? An example:
|Example 1-1. An introductory example
echo “Hi, I’m a PHP script!”;