I got on my php script
$result1 = mysql_query("insert ignore into...this....
$result2 = mysql_query("insert into...that....
$result3 = mysql_query("insert ignore...again
those all are different queries.
when first query tries to insert, and if it has duplicate record, it does not enter this.
well I dont want to run second and third query, if first query did not enter anything.
How do I prevent 2 and 3 query running if first did not enter anything? in PHP please.
Thanks