Image functions  
 
  String functions  
 
  Math functions  
 
  home  
 
  ask us  
 

 
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,

  
Google
Web
ScientificSentence
 




chimie labs
|
scientific sentence
|
java
|
Perl
|
php
|
green cat
|
contact
|


© Scientificsentence 2010. All rights reserved.