Learning PHP and MySQL
PHP Variable
<?php
$age = 30;
?>
Then reassign the value with:
<?php
$age = 30;
$age = 31;
echo $age;
?>
You should get the new $age as 31.
Posted by on 07/06 at 02:40 PM
Next entry: Example 03-05 Using comments to make your code easier to read
Previous entry: Example 03-03 Calling echo() and print()