![]() |
|
![]() PHP FAQ PHP Articles PHP Help Bulletin Board PHP Manual (NEW!) First Time PHP'ers Help with programming Sql assignment help PHP Homework Help
|
HTML Output PHP Code:
Web Browser Result:
<?php and ?> These tags are used to denote a block of PHP code. In order for the web server to process PHP code, you must tell it where a block of PHP code begins and ends. By default a PHP file will start in HTML mode; meaning you can put HTML in a PHP file and it will be executed normally. The above example, could also be written like this: PHP Code:
This command outputs a string to the HTML browser. ; (the semicolon) PHP Code:
|