php Programming
php Applications
MySQL Database
php-MySQL
cakePHP & Joomla
PL-SQL & PHP
Related projects
© The scientific sentence. 2010
|
PHP Syntax
The main scripting block starts with <?php or just <? and ends with ?>.
It can be placed anywhere
in the document.
Example:
<?php
echo("Regards");
?>
Create a ile as :
<html><body>
<?php
echo "Regards,";
?>
</body></html>
save it as Regards.php, and call it from a web server as localhost ( here
http://localhost:8080/PHP/Regards.php). The browser will display :
Regards,
|
|
|