Reuse of resource variables...

From: Date: Tue, 25 Nov 2003 07:43:15 +0000
Subject: Reuse of resource variables...
Groups: php.internals 
Request: Send a blank email to internals+get-5710@lists.php.net to get a copy of this message
Hi, When I do $rs = fbsql_query(...); /* more code here */ $rs = fbsql_query(...); The second query does not return anything. If I use another variable name for the second result or if I do $rs = fbsql_query(...); /* more code here */ $rs = 0; $rs = fbsql_query(...); everything works fine. I have checked that the list descructor gets called in both cases. What am I missing here ? - Frank

« previous php.internals (#5710) next »