Thursday, February 4, 2010

PHP Tags

Hello Everyone,

For the browser to recognize PHP code, the code must Always be put between the PHP tags. These tags are:

<?php

?>

The PHP code should be put in between those tags. Now the browser will recognize the PHP code. If the PHP code is not recognized it will display it as it does with ordinary HTML code.

PHP code can not be recognised due to:

1. Webserver does not have PHP support.
2. PHP tags are not used or incorrectly used.

No comments:

Post a Comment