Re: [PHP] Help Needed Please

2001-04-03 Thread David Robley
On Wed, 4 Apr 2001 11:23, Peter Houchin wrote: > > > > > > $rs = "UPDATE main SET system='$system',"; > > $rs .= "part='$part',"; > > $rs .= "monthly='$monthly'"; > > $rs .= "WHERE id='$id'"; > > > > > > $result = mysql_query($rs,$db); > > ?> > > > > > $foo = "SELECT * FR

RE: [PHP] Help Needed Please

2001-04-03 Thread Peter Houchin
> > > $rs = "UPDATE main SET system='$system',"; > $rs .= "part='$part',"; > $rs .= "monthly='$monthly'"; > $rs .= "WHERE id='$id'"; > > > $result = mysql_query($rs,$db); > ?> > > $foo = "SELECT * FROM main"; > > $result = mysql_query($foo); > while ( ($myrow = mysql

Re: [PHP] Help Needed Please

2001-04-03 Thread David Robley
On Wed, 4 Apr 2001 09:27, Peter Houchin wrote: > Hiya i've got a script that basically draws values from a db and will > display them, as i have multiple records in there and want to display > them all i'm using a while ( ($myrow = mysql_fetch_array($result) ) ) > statement this is all good as