I am trying to have a query result set populate a table. This part works fine. The part I cant figure out is how to get a button to pop at the beginning of each row so i can select a specific record. The solution I am trying is to go with a form containing a hidden input variable which gets set to the ID of the table row. and a button to select a record.
I am getting the following syntax error on the line where i declare the form.
Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’
Obviously I have typed something wrong but im not sure what.
[php]
//output the response
echo “<table alingn=“center” width=“400px;”>”;
echo "
while ($row = mysql_fetch_assoc($result)){
echo "
}
echo "</table>";
[/php]