Here's some sample DB code:
mysql_query("DELETE FROM table1 WHERE info1 = 'blah'");
mysql_query($personal_query);
Theoretically, could the second line get executed before the first line has completed the DELETE? If so, how do I make the code NOT asynchronous? I need to ensure that the DELETE is completed before moving on. Would just getting a return value solve this?
$result = mysql_query("DELETE FROM table1 WHERE info1 = 'blah'");
mysql_query($personal_query);
Thanks.