Multiple SQL statments in one

admin

Administrator
Staff member
Hey does anyone know if multiple SQL statements in the same php function clal will work?

mysql_db_query("delete from blah where id=5;insert into blah (name) values ('blah')");

Seems to me, you'd only get the resultID from the second, and you could never tell if the first one successful?

Thanks
Nola
 
Back
Top