Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Mysql - prepare

by jbrugger (Parson)
on Mar 15, 2006 at 12:26 UTC ( #536815=note: print w/replies, xml ) Need Help??


in reply to Mysql - prepare

If you really want to do that, why not use:
my $table = "my_table_name"; my $sth = $dbl->prepare("SELECT val FROM ". $table ." where col=?") ; $sth->execute( "bla");
"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://536815]
help
Chatterbox?
[usemodperl]: greetings
[Corion]: marto: Oooh, great! I was on a one week vacation, and in hindsight we should've gone for 10 days or two weeks ;))
[Corion]: Hi usemodperl ;)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2018-06-20 08:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (116 votes). Check out past polls.

    Notices?