* Anthony Rodriguez > The following php script successfully e-mails both messages but > it doesn't update in the table "scr_149" the column "notified". > Why?
Try moving this line: > $qry_2="update scr_149 set notified='y' where username='$username'"; ...after this line: > $username=$row_1["username"]; And the same with $qry_4. -- Roger --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php