Hello James

In your update statement, do not include a WHERE clause

HTH

----- Original Message -----
From: James Holloway <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to