[thelist] PHP/MySQL odd problem

Mr. Tenuta dtportnoy at videotron.ca
Mon Jul 12 09:27:12 CDT 2004


> I've been following this thread avidly but do not understand the solution
> as supplied by Burhan Khalid. As far as I can see Mr Tenuta's code was
> identical in the two SQL statements (apart from the table name) but Burhan
> points out that the "$link" variable was being reassigned. Can someone
> point out what I'm not seeing, please?

Heya,

Here's the problem. I was using this format...
mysql_query("SELECT......blahblah", $link);

Notice the variable link being used there. That $link is where i stored my
mysql_connect info. First time works fine, then i do this on the first time:




More information about the thelist mailing list