form variables from database help.


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

Hi all,

I would like to have a form that gives you options based on the results of an mysql query.

My example is this, say I have a mysql row with the colum name points and the result is 5. How would I populate a form with a drop down box with the options 1 or 5. Ie the user can select either a single point they have or all 5?

No comments posted yet

Your Answer:

Login to answer
152 Like 42 Dislike
Previous forums Next forums
Other forums

Help pulling in 'id' with "read more" link
I'm trying to create snippets of my articles in the cms I'm creating, and then have them redirect to

Automatically Detect Phone Model for WAP Jar Deployment
Making a wap site is fairly simple, but I'd like to know if there's a way to make it so that the wap

registration form
first time posting. did some searches but didnt find exactly what i am looking for. dont flame cause

Question about the upload of large files
Hi there,

I have a question about the upload of large files, like videos (files generally abo

Problem with DB connection
Hello there! I'm new to this forum and I'm new to PHP coding also. I wrote something that doesn't ma

Error Messaging not working
I changed the way my form tells the user of an error. But I can't seem to get it to work properly.

Shuffle between users ??
I have multiple $users in table. I need to send them $message.

I need to send the next messag

PHP Login
Hey!
I got this shopcart code online, am trying to modify it but am getting an error when i try a

Alternate messaging
I have 4 strings in MySQL db1

$string1 : Hello
$string2 : Hi
$string3 : Great
$strin

Need help with PHP/MySQL drop down menu
I need help on how I can implement a drop down menu which queries mysql database and output the avai

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