Learning PHP and MySQL

Example 05-21 Referencing the $some_variable

<?php
$some_variable  
=  "Hello  World!";
$some_reference  =  &$some_variable;
$some_reference  =  "Guten  Tag  World!";
echo  
$some_variable;
echo  
$some_reference;
?>

Posted by on 08/03 at 08:26 AM

Next entry: Question 05-01 What’s wrong with this function call?

Previous entry: Example 05-20 Using the -> operator to call hypnotize

<< Back to main