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?

Thanks

No comments posted yet

Your Answer:

Login to answer
329 Like 52 Dislike
Previous forums Next forums
Other forums

Calender Not Opening
The following code is not loading the javascript calender in another window. It's not doing anything

Most basic form question ever?
Hello,

I want to use this snippet to make sure the fields in a form are ok before processing

Help with ORDER BY
Hello. I would like to order by ascending States, then Cities, then Gyms in the following code, but

Help with explandable category tree
I have the below query:

SELECT l1.id as lev1_id,l2.id as lev2_id,l3.id as lev3_id,l1.categ

Breaking results into week blocks
I have a set of dates (and times), which are returned from a mySQL query.

These usually span

Show message after entering data
Hello Colleagues

I would like to display messages after entering the data example: "
dat

Help with Contact Form
I have this Form on an html page and the associated code on page.php (below).
I keep getting the

INSERT data problem!
After having an string with apostrophes ', double quotes " or any other special characters, suc

what are '%S%', '%E%'
for example when i see Code: [Select]printf("Hello %srn", $name);
what does %s means

Save data in input fields when they press "BACK BUTTON"
Hi, this is html form: And let's say they get a error "Please enter ur title must be more then

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