Re: Foreach and mydql_query problem
| From: | Tim Streater | Date: | Mon, 22 Jul 2013 12:14:00 +0000 |
| Subject: | Re: Foreach and mydql_query problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-321672@lists.php.net to get a copy of this message | ||
On 22 Jul 2013 at 12:56, Karl-Arne Gjersøyen <karlarneg@gmail.com> wrote:
> Yes, i know that only one a singe row is updated and that is the problem.
> What can I do to update several rows at the same time?
Which several rows? The row that will be updated is that (or those) that match your WHERE clause.
Seems to me you should make sure your WHERE is correct.
--
Cheers -- Tim