Re: Need help with modifying values

From: Date: Sun, 18 Dec 2005 09:30:24 +0000
Subject: Re: Need help with modifying values
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-227593@lists.php.net to get a copy of this message
Hi, I am looking for a full time online Job. Please have a look at my CV at the below link. any one looking for freelancer or permanent employee 8 hours a day, 5 days a week. Salary 1000 USD per month www.bsdinfotech.com/loveneesh1.htm Regards, ----- Original Message ----- From: "Matt Stone" <stone.matthew@gmail.com> To: <php-general@lists.php.net> Sent: 18 December 2005 2:49 Subject: Re: [PHP] Need help with modifying values > There's a big difference between the first and second scripts your using. > The second one isn't using a while loop so will only return the first row in > the recordset. See below. > > HTH > > Cheers > Matt > > ----- Original Message ----- > From: "Anasta" <neretlis@westnet.com.au> > To: <php-general@lists.php.net> > Sent: Sunday, December 18, 2005 8:21 AM > Subject: [PHP] Need help with modifying values > > > > > while ($myrow = mysql_fetch_array($result)) { > > > > echo "<tr><td>" . $myrow['Name'] . > > "</td>"; > > echo "<td>" . $myrow['Rating'] . "</td>"; > > echo "<td bgcolor='cyan'> <a > > href='modify_values2.php?id=" . $myrow['ID'] > . > > "'>Modify</a></td></tr>"; > > } > > ?> > +++++++++++++++++++++++++++++ > > > > > > $myrow = mysql_fetch_array($result); > > > > $Name = $myrow['Name']; > > $Rating = $myrow['Rating']; > > > > ?> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#227593) next »