Re: Execute Error

2002-01-01 Thread Durga_Prasad
You are executing, $dbobj the database object. You should execute the statement handle. The code should be: $query = "SELECT UserID,Name FROM test"; $sdb = $dbobj->prepare($query); $sdb->execute(); Placed At : "Clinton Hesse" <[EMAIL PROTECTED

Re: Execute Error

2001-12-31 Thread Brent Cowgill
try $sdb->execute() Clinton Hesse wrote: >It's funny, i can call method prepare on the database object but not >execute, error on line 3. > >1. my $query = "SELECT UserID,Name FROM test"; >2. my $sdb = $dbobj->prepare($query); >3. $dbobj->execute; > >where $dbobj is a reference to the database o