Hi,
I am currently reading the PHP manual on this site. I'm having a bit of trouble understanding something and was hoping someone could help me out.
In the manual they state that resources are reference types. They also state that a mysql link is a resource. The mysql_connect() function returns a mysql link. Therefore why is it not required, when getting one of these mysql links, that you assign by reference?
$conn &= mysql_connect($host, $user, $pwd);
as opposed to
$conn = mysql_connect($host, $user, $pwd);
Thanks in advance,
Stephen.