Re: hrm...sql problem
| From: | Joe Stump | Date: | Mon, 30 Oct 2000 09:08:59 +0000 |
| Subject: | Re: hrm...sql problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22630@lists.php.net to get a copy of this message | ||
Looks good to me - did you try it in your mysql terminal? That should give you
a more detailed error message. Also double check spelling (sometimes I misspell
stuff in my table defs!)
--Joe
On Mon, Oct 30, 2000 at 02:55:51AM -0500, Kurth Bemis wrote:
> why won't this update code work?
>
> $sql = "UPDATE members SET passwd='$password',zip='$zip',public=1
> WHERE
> username='$username'";
>
> i don't see anything wrong with it...do any of you?
>
> ~kurth
> Kurth Bemis - Network/Systems Administrator, USAExpress.net/Ozone Computer
>
> There is no sin except stupidity. -- Oscar Wilde
>
> kurth@usaexpress.net | http://www.usaexpress.net/kurth
> PGP key available - http://www.usaexpress.net/kurth/pgp
>
> Fight Weak Encryption! Donate your wasted CPU cycles to Distributed.net
> (http://www.distributed.net)
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
================================================================================
= Joe Stump joestump98@yahoo.com http://www.miester.org =
================================================================================
"Real programmers don't comment their code.
It was hard to write, it should be hard to understand."