hi guys, I was wondering if you could help me. I'm trying to create a report on my website through mysql and php. So I'm at the part where I have to pull in the parameters they want for the select statement. I'm using a dropdown box for this and trying to pass them into the next page. However, I'm naming each parameter individually by the table and field name as:
<?php echo "<select id='txtParam_" . $table['table'] . "." . $row['Field'] . "'> <option>=</option> <option>Like</option> </select>"; ?>
So when the form sends them to the next page it can pull each variable, eg = or Like, individually. The only problem is getting the correct table and field. I'm a bit of a rookie at all of this, so I'm not sure if I have to call the right field and table again or if the names will automatically pass. Just seems that everything I try is giving a blank array. I hope I've explained it right, I'm that good at it. All suggestions or opinions are much appreciated.