Skip to main content
Participant
July 20, 2011
Question

1 form, 1 table, multiple PHP/SQL UPDATES

  • July 20, 2011
  • 1 reply
  • 322 views

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 has been closed for replies.

1 reply

July 21, 2011

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