Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

1 form, 1 table, multiple PHP/SQL UPDATES

New Here ,
Jul 20, 2011 Jul 20, 2011

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

TOPICS
Server side applications
323
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 20, 2011 Jul 20, 2011
LATEST

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines