473,508 Members | 2,295 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

subtmiting the dropdown option selected to the database

56 New Member
Hey guys

i have a list of stores listen in a drop down, the user pics the store, but then i would like that option to be entered into the database.

there are 25 drop down boxs in the table, so 25 enteries will be made in the dtabase for the fowllowing days sat,mon,tues,weds,thurs,fri,

i have the table already setup in the database, just need to know how to take the data from the form.

i have php code to display the option in the table, just dont know were to start the code to do the INSERT INTO
Apr 5 '07 #1
2 1122
DavidOwens
56 New Member
Hey guys

i have a list of stores listen in a drop down, the user pics the store, but then i would like that option to be entered into the database.

there are 25 drop down boxs in the table, so 25 enteries will be made in the dtabase for the fowllowing days sat,mon,tues,weds,thurs,fri,

i have the table already setup in the database, just need to know how to take the data from the form.

i have php code to display the option in the table, just dont know were to start the code to do the INSERT INTO
any advice guys? its really really bugging me
Apr 9 '07 #2
Motoma
3,237 Recognized Expert Specialist
any advice guys? its really really bugging me
If this question is as simple as it appears to be, I would suggest looking up a PHP MySQL tutorial from one of the many free online resources available before asking in a forum such as this.

Quite simply, your form will POST to another PHP page, which will validate the $_POST values, and then insert the validated data into your database.
Apr 10 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
8256
by: Joseph Barron | last post by:
Here is a SIMPLE problem that I'm trying to solve. It works in Netscape 6.2, but IE6 gives ""No such interface supported." Below are page1.htm and page2.htm . In page1.htm, there are two...
1
1837
by: gary | last post by:
In our site we are encountering problems with drop down boxes. We have a dropdown box & the ONChange event of which is fetching some data from a servlet. However when we use history back button ,...
4
2610
by: Greg Scharlemann | last post by:
I'm trying to setup a dyamic dropdown list that displays a number of text fields based on the selected number in the dropdown. The problem I am running into is capturing the data already entered...
5
13813
by: =?Utf-8?B?bWNhdWxpZmZl?= | last post by:
I have an old application ( pre-VB5) that I need to add a select/option list to. This is an edit program so the values for the form will be retrieved from a database. How do I set the value of...
0
7225
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7046
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7498
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3194
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1557
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.