form variables from database help.

Posted on 16th Feb 2014 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?

Other forums