> I've got a script that imports several CSV files via the Load > Data File > command. > > I need to know if each import query was successful or failed. > > > > Is there a way to log the success/failure of each query including how > many rows were inserted? > > > I assum you are using MySQL, since you didn't specify. Typically, mysql_query() will return false if the query failed, and mysql_affected_rows() will return the number of rows affected. JM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php