Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: DBI, SQL and Dates

by fuzzyping (Chaplain)
on Aug 06, 2002 at 23:47 UTC ( [id://188200]=note: print w/replies, xml ) Need Help??


in reply to DBI, SQL and Dates

Because this line...
$dbhstmt->execute( '$SuStCo_strID', '$date' );
does not interpolate the values... you need to use double-quotes (or none at all) for the variables to be interpolated correctly.

-fp

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://188200]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-06-23 20:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.