RE: [PHP] Update All fields?
| From: | Martin Cabrera Diaubalick | Date: | Fri, 06 Apr 2001 09:13:20 +0000 |
| Subject: | RE: [PHP] Update All fields? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47424@lists.php.net to get a copy of this message | ||
Hello James
In your update statement, do not include a WHERE clause
HTH
----- Original Message -----
From: James Holloway <james@towntalk.co.uk>
To: <php-general@lists.php.net>
Sent: Friday, April 06, 2001 11:05 AM
Subject: [PHP] Update All fields?
> Hi There,
>
> I currently have a MySQL table, with around 700 populated rows in it. I'd
> like to know if there's a quick and easy way to update one column across
all
> of the rows in the database. I shouldn't imagine it's a difficult job,
but
> I'm having a mental block :)
>
> Thanks in advance.
>
> --
>
> James
>
>
>
> --
> 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
>
>