- Joined
- Oct 4, 2008
- Messages
- 51
- Reaction score
- 11
Welcome I am going to teach you basic php commands (well i dont know much but i can still help you). Let start with the tags:
<? (this is required opening tag for php it must be at the begining of every php script)
?> (this is the close tag it msut be in the end of every php script)
Basic Message Commands
The most usable message commands in PHP is "echo".
Examples:
<?
echo 'Hi al';
?>
!!!Attention!!!
This symbol ";" should be in the end of nearly every php commands.
The php language has a huge variety of commands like
?>
$rating = 6 ;
echo 'Hi this is our rating $rating';
?>
It should say Hi this is our rating 6
because $rating equals to 6!
this is very usefull commands!
<? (this is required opening tag for php it must be at the begining of every php script)
?> (this is the close tag it msut be in the end of every php script)
Basic Message Commands
The most usable message commands in PHP is "echo".
Examples:
<?
echo 'Hi al';
?>
!!!Attention!!!
This symbol ";" should be in the end of nearly every php commands.
The php language has a huge variety of commands like
?>
$rating = 6 ;
echo 'Hi this is our rating $rating';
?>
It should say Hi this is our rating 6
because $rating equals to 6!
this is very usefull commands!