Please visit : http://www.caillouette.com/eli/admin13/searchpage.html
you will see that the result page is set up like a form.
I'm only having trouble dynamically naming the fields so I am trying one variable.
I am having trouble getting the current value of the variable to display in the field.
here's the code to display the form (note* I am only tring to create a form with one variable. I will addd other variables/data from the database as soon as I can figure out how to do one.)
echo "<form method='POST' action='results2.php'>";
echo "<table><tr>";
while($row = mysql_fetch_row($result))
{
echo "<td><span class='body1'>Page Number</span><span class='body'>
<input class=textbox type=text size=30 maxlength=30 name='page_number' value='$row[$page_number]'></td></tr>";
}
echo '<tr><td><input type="submit"></td></tr></table>';
echo"</form>"
?>
I have tried to put the second "$page_number" data variable in single quotes and double quotes but I couldn't get it to work.
I'm trying to have the current value display in the field to the right of the blue text "Page Number" on the results page
Thanks