You are here: Form Question « PHP Programming Language « IT news, forums, messages
Form Question

Posted by Dave Mennenoh on 05/22/06 19:38

I have a form being filled in dynamically using PHP. It's working except
I've run into an issue with the submit. I have a Select component (drop down
box) that has an onchange="this.form.submit()" so that users can simply pick
the item to be edited. Furtner down there's a standard submit button... How
can I differentiate between the two submits?
If they pick an item from the dropdown I just want to fill in the form with
the data selected from the database for that record. If they hit the submit
button, I want to post the form and save that data into the database.
Seems like it should be an easy one, but I'm just missing it.

thanks


--
Dave -
Adobe Community Expert
www.blurredistinction.com
www.macromedia.com/support/forums/team_macromedia/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация