hejgelato Posted April 2, 2008 Share Posted April 2, 2008 $connection =& create_connection(); and $connection = create_connection(); what is the difference? Pls help! Thank you! Link to comment https://forums.phpfreaks.com/topic/99134-please-help-with/ Share on other sites More sharing options...
Lumio Posted April 2, 2008 Share Posted April 2, 2008 I don't believe that $connection =& create_connection(); would work. Look at this example <?php $a = 1; $b = $a; $a++; //$a is now 2 but $b is still 1 //again... but different unset($a,$b); $a = 1; $b =& $a; //now $b represents $a $a++; //$a AND $b are now 2 ?> Link to comment https://forums.phpfreaks.com/topic/99134-please-help-with/#findComment-507209 Share on other sites More sharing options...
hejgelato Posted April 2, 2008 Author Share Posted April 2, 2008 Thank you ! Link to comment https://forums.phpfreaks.com/topic/99134-please-help-with/#findComment-507230 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.