On Sep 22, 2004, at 2:37 PM, David Good wrote:

$db = "foo"; $dbcc_sql = "dbcc checkdb($db)"; my $sth = $dbh->prepare($dbcc_sql); if ($sth->execute($dbcc_sql)){

You passed a parameter to execute and it doesn't need it.
You only need to pass values to execute when you are using place holders you didn't bind with ->bind_param.


--
Jeff Trout <[EMAIL PROTECTED]>
http://www.jefftrout.com/
http://www.stuarthamm.net/



Reply via email to