im trying to let the user of my website be able to amend information that is in a table. Im listing the rows with a radio button next to each row, this bit works, the bit i cant get to work is geting wot is already in that row our of the database so the user knows wot they are chaging in the next page,
ive use
mysql_query (" select field1, field2 table where id = $id ");
echo $id;
echo $field1;
$id is showing the data that it is supposed to, this is the value for the radio button so i know that bit is working
$field1 is staying blank so it is not geting the data out from the database
What am i doing wrong, does anybody know?