Populate drop down list from table??


Posted on 16th Feb 2014 07:03 pm by admin

Lets say for arguments sake that i have a table which contains the numbers 1 to 10.
How can i get a drop down list to pull these numbers from the table?
So if i then added more numbers to the table then these would automatically appear in the list aswell..

No comments posted yet

Your Answer:

Login to answer
83 Like 51 Dislike
Previous forums Next forums
Other forums

array empty
Hiya peeps,

Ok here is the codes.

order.php

Code:

images aren't rendering
I'm trying to call a JPG file from within PHP (in an effort to hide the actual JPG folder). The imag

Mysql error message
help me find out what this error message means:

"Duplicate entry '0' for key 'PRIMARY'&q

Storing Values taken from a DB...
Using this code it will generate a short list from my database

<?php
mysql_connect

fire away
i launched about 4 months ago as a lagit co. i have 2 paying clients, 1probono, 1 side progect, and

php ajax - two drop down list with a submit button
i have created a form with 2 drop-down list and a submit button. I would like to know how to pass th

HTML Form Server Side Validation
Hi, Im new here, im currently doing a website for a friend, and I have designed using snippets from

php libs/ browsercap.in
ok i have a host that refuses to stay current. they control my php settings and libs. is there a way

Having Problem with Date
l have a submit buttom where user have the possibility to add a date to specify when his message s

Probably a simple error...
I'm getting the error -- Parse error: syntax error, unexpected '{' in /home/content/c/s/t/csteffen24

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash