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

mail() says sent but no email received
My code is quite simple:

Code: <?php
$to = "Ty44ler@yahoo.com";
$subje

Protecting forms
Alright, I want to protect some forms of mine from SQL Injections, because I had someone earlier spa

how to make database item unique
Hey guys,

is it possible to do this:

I have the database item $title being pulled for

Unable to customise toolbar in FCK
check if value exists
I have googled this for a while and I am getting lots of different results. Is there a standard meth

apart from cron
I need to run a php file every one hour. Is there any other solution apart from cron job?

Onclick problem in Firefox
Hi,
I am using a . It doesn't seem to

puting for loop in 1 value
hi ,

how do i put this code in 1 value:
Code: <?php
for ($i=1; $i<=5; $i

Transform value 0 in no and 1 in yes help needed
Hello,
I have this in the table: "value" type int 0 to represent false and 1 to represe

Not showing whole name with mail () script
I sent up a simple mail form with the PHP mail() script. One problem is when it sends an email with

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