jeanluca has asked for the wisdom of the Perl Monks concerning the following question:
This fails, Mysql tells me that the execution failed due to some errors inside the mysql statement.$sth = $dbl->prepare("SELECT val FROM ? where col=?") ; if (! $sth->execute( "my_table_name", "bla") ) { print "FAILED\n" ; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mysql - prepare
by marto (Cardinal) on Mar 15, 2006 at 11:34 UTC | |
|
Re: Mysql - prepare
by jbrugger (Parson) on Mar 15, 2006 at 12:26 UTC | |
|
Re: Mysql - prepare
by kwaping (Priest) on Mar 15, 2006 at 15:45 UTC |