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.

Did you know?Explore Trending and Topic pages for more stories like this.
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

php or sql?
Sorry not sure if this is a sql problem or php the following code is supposed to delete data from th

Array help
Hello i got this code to fetch data from database but it is not working it displays
7
Array

Need help to modify php ELSE code
I'm trying to find a way to have the php code display a message if there is no inventory listed in t

adding up might be solved tell us cheers.
i think i finally solved this anybody.

last time i was getting the wrong results.

Code

Looking for help reading a .txt or .ini file and outputting the info.
I have a file called Info.ini and It has the following info:
Code: [General]
Online=0
I wou

Line break?
Hi, I'm new to the forum and new to php. I'm not sure if I'm using the correct terminology so here i

Form validation with functions
Hi there

I am trying to make a very simple form validation function. I currently have the fol

Search function
I am looking for some guidance from the experts.

I am trying to create a search function. It

Request for tunning the below query
Hi,

Can any one help me on the below query while improving the performance,

Different actions for different parts of a string
<?php
function dosomething($string, $else = '') {
if (empty($else))
$string

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