Peter Westergaard wrote:
snip
You should probably check out http://php.net/mysql_query for more
information on this function. The difference between empty result
and invalid query is significant. Once you've determined that the
query is valid, you must also then check to see if it
I wouldn't think there would be a result set from a mysqli multi_query
when the query is a group of insert statements (there is no
auto_increment column), but I get a commands out of sync error on my
next query.
Originally, I had:
foreach ( . . . .
$sql. = insert into