Thread
:
Syntax error here why?..
View Single Post
08-12-2008, 06:39 PM
#
6
(
permalink
)
localhost
The Contributor
Join Date: Apr 2007
Location: Hampshire
Posts: 28
Thanks: 1
You could also do it like:
PHP Code:
$sql
=
'UPDATE `news` SET `valid` = '
1
' AND `cat_id` = '
{
$cat
}
' WHERE `id` IN ('
{
$ids
}
')'
;
__________________
StevenGibbons
localhost
View Public Profile
Send a private message to localhost
Visit localhost's homepage!
Find More Posts by localhost