I have two insert statements. The second will be executed only after the successful completion of the first. I would like to do the following:
$sqlone="Insert into ....."; $sqltwo="Insert into....."; If (mysql_query($sqlone)) { If (mysql_query($sqltwo)) { Show message Data inserted in both tables. } }
source share