Skip to main content
Participant
Jul 20, 2011 11:23 PM UTC
Question

1 form, 1 table, multiple PHP/SQL UPDATES

Hi guys,
I'm hoping you can help me on this one
I would like to submit multiple entries from a form after hitting one submit button, but am having no luck.

MySQL Table name: nwbps_class
Fields: nwbpsclass_id, class, nwbpsclass_welcome, nwbpsclass_order.

I’m using a PHP/SQL repeat region which will add more fields to the form, for every submission of the above.

Id like to be able to edit the ‘nwbpsclass_order’ and ‘class’ fields (of each entry) manually in 1 big form submission. I hope I’m making sense.

David

This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Jul 21, 2011 1:00 AM UTC

Multiple queries are not a problem, you can set conditions to them as well, meaning

$query1="...";

if (some condition exist){

$query3="...";

}

etc.

You can also use a switch statement for queries.

But your not really giving enough information for someone to give you any more specific help.

Gary

Translate