"Cilfa" <[EMAIL PROTECTED]> wrote in message
> $query = mysql_query("UPDATE articles SET pr='1' WHERE id='$p[id]'");
> But it does nothing! How can I insert multiple values (from the checkbox
> array) at one time in a database?

UPDATE articles SET pr='1' WHERE id IN ( ...list... )

PHP Database 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