Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2000121

Re: [PHP-DB] update help From: Daniel Rezny (dr <email protected>)
Date: 12/07/00

Hello Jon,

Thursday, December 07, 2000, 5:26:35 AM, you wrote:

JM> I am trying to update a table with this command
JM> $insert=mysql_query("UPDATE grades set grade ='$grade[$i]' WHERE userId ='userID[$i]' and title= '$title';",$link);
JM> echo mysql_errno().": ".mysql_error()."<BR>";
JM> I get no errors returned but when I check the table in the database
JM> nothing has changed.
JM> Jon

give a $ in front of userID[$i] and delete semicolon after '$title';

-- 
Best regards,
 Daniel                            mailto:dr <email protected>

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>