Thread
:
a sql question anyone?
View Single Post
02-07-2005, 03:40 PM
RefaStud
Confirmed User
Join Date: May 2003
Posts: 183
nope. you will have to do a loop through each of the id's you wan't to update.
my $sql = "update appear_count='?' where ID='?'";
my $sth = $dbh->prepare($sql);
foreach my $ID (@ids){
$sth->execute(APPEAR_COUNT, $ID);
}
Last edited by RefaStud
; 02-07-2005 at
03:42 PM
.. Reason: didn't finish.. UGH
RefaStud
View Public Profile
Find More Posts by RefaStud