note 16856 rejected from function.mysql-free-result by zak

From: Date: Fri, 16 Nov 2001 01:49:24 +0000
Subject: note 16856 rejected from function.mysql-free-result by zak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-20904@lists.php.net to get a copy of this message
If you use the result set of a insert query, you get a warning message. // connect // do an insert $result = mysql_query("insert into table1(col1) values(1)"); // free a result mysql_free_result($result); // a warning is generated Warning: Supplied argument is not a valid MySQL result resource in your_source.php on line line_number php-mysql-4.0.4pl1-9 mysql-3.23.36-1 RedHat 7.1

« previous php.notes (#20904) next »