Re: update help
| From: | Jon McFarling | Date: | Thu, 07 Dec 2000 18:21:02 +0000 |
| Subject: | Re: update help | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-5084@lists.php.net to get a copy of this message | ||
Dooh!!
thanks
Jon
On Thu, 7 Dec 2000, Daniel Rezny wrote:
> 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
> JM> ='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@photo.digitallaut.at
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>