{amended with tidier code}
Hi
I have the following code below which displays the records from a table, although i can get the query to run and display, im having trouble submitting andy changes back to the table, i know i have to do sort of array thing but im a newbie to php and never done any sort of progamming before.
if anyone can help possibly with an example also with how im going to write back to the table it would be most appreciated, the results can range from 0-30,
Thanks in advance.
<?php
while($query_data = mysql_fetch_array($result)) {
$ResId = $query_data["ResId"];
$Vote = $query_data["Vote"];
$gpVote = $query_data["gpVote"];
?>
<TR bgcolor="#868686">
<TD WIDTH="90" height="1" align="center"><? echo $ResId ?></TD>
<TD WIDTH="110" height="1" align="center"><input type = "text" size = "8" name = "Vote" value ="<? echo $Vote ?>">
</TD>
<TD WIDTH="110" height="1" align="center"><input type = "text" size = "8" name = "gpVote" value ="<? echo $gpVote ?>">
</TD>
<?
}