php-db | 2000121
Date: 12/07/00
- Next message: Alexey Borzov: "Re: [PHP-DB] PHP/postgres form INSERT question"
- Previous message: Daniel Rezny: "Re: [PHP-DB] i need help indexing a search"
- In reply to: Jon McFarling: "[PHP-DB] update help"
- Next in thread: Jon McFarling: "Re: [PHP-DB] update help"
- Reply: Jon McFarling: "Re: [PHP-DB] update help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Alexey Borzov: "Re: [PHP-DB] PHP/postgres form INSERT question"
- Previous message: Daniel Rezny: "Re: [PHP-DB] i need help indexing a search"
- In reply to: Jon McFarling: "[PHP-DB] update help"
- Next in thread: Jon McFarling: "Re: [PHP-DB] update help"
- Reply: Jon McFarling: "Re: [PHP-DB] update help"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

