In my script I have
if($variable == 0 && $othervariable == 0)
{mysql_query("INSERT INTO table_name VALUES ('x', 'x', 'x')");
then continues with two email scripts }
variable and other variable are actually mysql_num_rows for two searches that I performed.
Both emails get sent, and I have more...