Can you provide the lines that have your
$statementHandler and sql code?
--- "V. Rajaraman [Sys-Support]"
<[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> I use DBI to update Mysql table, when i do that i
> facing the below error.
> What is the error ?
>
> Error :
>
> can't execute the query: DBI:
Martin Moss wrote:
So the question I have is "How" do I insert the ping subroutine into my
own custom DBI class which calls DBI and maintains the dbh connection.
The old way (and I think it still works) is to use DBIx-AnyDBD but this
functionality has now been included in the DBI itself - see
the perl modules you need are DBI.pm and DBD::MySQL.pm
you can obtain them from cpan.org.
as for php, your page will connect to the db via some
other built in php method.
the documentation on DBD and DBI should have examples
for connecting to the db in perl.
-
Anthony E.
--- Johnno <[EMAIL PR