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 object

I get error

Can't locate object method "execute" via package "DBI::db" (perhaps you
forgot to load "DBI::db"?)




---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to