Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- on INSERT an empty row BEFORE the data is inserted


timster - 1:49 am on Mar 11, 2011 (gmt 0)


Ah rats, I should have read your code more closely. "Insert...select" will indeed insert multiple rows.

But there's one way to find out: log or echo
mysql_affected_rows() after the queries in question. That will report the number of rows inserted by the individual queries.


Thread source:: http://www.webmasterworld.com/php/4279219.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com