Query-Type in MySql???

From: Date: Thu, 23 Nov 2000 17:37:07 +0000
Subject: Query-Type in MySql???
Groups: php.general 
Request: Send a blank email to php-general+get-26848@lists.php.net to get a copy of this message
Hi all I have a function that wraps away all database-specific stuff by executing the query, reading the result and returning the result in an array. in Oracle i can determine the type of the query and just fetch the contents if it was a select. In mysql i get a warning if i try to fetch the result if the statement was an insert or update. i can supress the warning with a '@' but that sucks.... any hints? Sebastian

« previous php.general (#26848) next »