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.
Update More Than One Record
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Yet another blunder by me
change
to
change
Code: Select all
if(in_array($assignID, $_POST['inspector'])) {Code: Select all
if(array_key_exists($assignID, $_POST['inspector'])) {