Page 2 of 2

Ok

Posted: Mon Jan 16, 2006 4:23 pm
by icesolid
I put in the error checking but it still produces no errors and no database updates.

To answer your other question no echo's are being printed out.

I think maybe the if(!empty($_POST["submit"])) { } might be in the wrong spot, but I doubt that is the problem.

Posted: Mon Jan 16, 2006 4:37 pm
by John Cartwright
Yet another blunder by me :oops:

change

Code: Select all

if(in_array($assignID, $_POST['inspector']))    {
to

Code: Select all

if(array_key_exists($assignID, $_POST['inspector']))    {

Works

Posted: Mon Jan 16, 2006 4:42 pm
by icesolid
Thank you my man, it works great, FINALLY!!!!!!!!!! :D