Re: Checkboxes with mySQL

From: Date: Fri, 07 Sep 2001 13:07:09 +0000
Subject: Re: Checkboxes with mySQL
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-12248@lists.php.net to get a copy of this message
"Cilfa" <cilfa@euronet.nl> wrote in message news:13722431891.20010907143732@euronet.nl... > $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... )

« previous php.db (#12248) next »