>
> <snip>
> $rs = "UPDATE main SET system='$system',";
> $rs .= "part='$part',";
> $rs .= "monthly='$monthly'";
> $rs .= "WHERE id='$id'";
>
>
> $result = mysql_query($rs,$db);
> ?>
> <form name="update" method="get" action="../../ben.php">
> <?
> $foo = "SELECT * FROM main";
>
> $result = mysql_query($foo);
> while ( ($myrow = mysql_fetch_array($result,$db) ) ) {
>
> $id = $myrow["id"];
> $system = $myrow["system"];
> $part = $myrow["part"];
> $config = $myrow["monthly"];
>
> ?>
> <!--form elements with echo on $myrow, and id hidden-->
This ^^^^ might be the place to start - what do you get when you view the
source??
> <?
> }
> ?>
> <input type="submit" name="submit" value="submit">
> <snip>
i get all id numbers for the records in the hidden id fields as well as all data that
was originally in the db ...
just a thought when i do a print $rs; i get this
UPDATE main SET system='A33',part='cpu/mem',monthly='6000'WHERE id=''
which is that last record in the db .. so for some reason it's not picking up any id
numbers :<