Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Why does my query work on the command line, but fail in my browser?

by CMonster (Scribe)
on Jul 07, 2000 at 22:05 UTC ( [id://21546]=note: print w/replies, xml ) Need Help??


in reply to Why does my query work on the command line, but fail in my browser?

Whoopsie! Be wary of quoting NULLs. The program listing has $dbh->quote("NULL"); but that gives 'NULL', or the string NULL, rather than the empty value NULL. To get the latter, use $dbh->quote(undef); ...which works just fine if quoting a variable; you get a quoted string when it contains a value, and NULL when it's undef.
  • Comment on Re: Why does my query work on the command line, but fail in my browser?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2024-04-23 17:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found