I normally use this code for my connection to mysql:
$mysql_link = mysql_connect($hostname,$root,$password);
And in my queries I use:
$result = mysql_query($the_query,$mysql_link)
Apparently it works even if I us:
$result = mysql_query($the_query)
The reason I include the link identifier in the result query is because I read that in my first PHP book.
So is there a particular reason why I should or should not include the mysql connection identifier in the result queries?
Does it affect performance or is it only to make clear which mysql connection one uses.
BTW, I seldomly have more than one mysql connection.