Re: Update still not working
| From: | Nashirak Bosk | Date: | Thu, 03 Aug 2000 00:58:14 +0000 |
| Subject: | Re: Update still not working | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1739@lists.php.net to get a copy of this message | ||
Ok well. Thank you Mr. Vincent that little mysql_error() trick was what the
doctor ordered. The error that it gets back is as follows:
Access denied for user: '@localhost' to database 'database'
OK now that I know this how do I deal with it. I am not very good with
security stuff. I know that the server is running on Linux and that the 2
scripts that I am running are in a protected directory. Any thoughts
anybody?
Nashirak
P.S. Thanks for the great feedback
"Craig Vincent" <webmaster@jazzmonkey.com> wrote in message
news:FGELJKGOOBDMPNAOPBIMKENLFHAA.webmaster@jazzmonkey.com...
> > $query = "UPDATE $table SET Monday = '$mond', Tuesday = '$tuesd'
> > ,
> > Wednesday = '$wedd' , Thursday = '$thurd' , Friday = '$frid'
> > , Saturday
> > = '$satd' WHERE Number = $numb";
> >
> > MYSQL_QUERY ($query);
>
> The next line put
>
> echo mysql_error();
>
> If that produces an error message it might help you in your quest to
solving
> this problem.
>
> Sincerely,
>
> Craig Vincent
> -------------------------
> Senior Programmer
> Jazzmonkey Media Inc.
> http://www.jazzmonkey.com
> -------------------------
>
>
>
> --
> 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
>