You are here: Re: How do you insert a value from drop down list to SQL table? « All PHP « IT news, forums, messages
Re: How do you insert a value from drop down list to SQL table?

Posted by Ren on 01/26/06 04:57

Ignore the post below. I made a stupid typing error in the php code.

Sorry
Ren

"Ren" <nobody@nospam.com> wrote in message
news:dr9b6f$22g$1@nwrdmz03.dmz.ncs.ea.ibs-infra.bt.com...
> Hi all,
>
> I am a bit new to PHP and SQL so this may seem like a dumb question.
>
> I have already created a drop down list as part of a form which is
> automatically populated with values taken from a separate database. When
> a
> user goes onto this page and either leaves the default value or selects a
> value from the drop down list and presses the submit button, I would like
> that selected value to be stored into a database which I have already
> created in SQL.
>
> Just to let you know that I can do the above using a text field but just
> don't know how to do it with drop down list.
>
> If your going to explain any coding then it may help if I give you the
> names
> of certain items that are involved.
>
> Database is called "Company"
> Field within database is called "Name"
>
> Drop down list is called "company"
>
> Thanks
> Ren
>
>

 

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

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