Update Multiple Records

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
icesolid
Forum Regular
Posts: 502
Joined: Mon May 06, 2002 9:36 pm
Location: Buffalo, NY

Update Multiple Records

Post by icesolid »

I am writing a script where the user has a list printed out of a MySQL database on the screen that has selection boxes next to each item on the list, each selection box has choice of "Territories" they can choose from. At the bottom of the screen the user has a submit button which says "Assign Cases".

My problem is when user hits submit button "Assign Cases", I want my program to update each record (THAT HAD A SELECTION MADE) with the territory selected.

If a territory was not selected next to one of the items, then the program will do nothing.
blunt
Forum Newbie
Posts: 2
Joined: Thu Aug 24, 2006 5:37 am

Post by blunt »

paste your code
Post Reply