Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: checkbox

by screamingeagle (Curate)
on Feb 12, 2002 at 18:13 UTC ( #144938=note: print w/ replies, xml ) Need Help??


in reply to checkbox

Here's a function which checks if a variable has data or not.Before firing an SQL statement, use this function on all the parameters being passed :

sub returndata_or_null { my $var = shift; $var =~ s/\'/\'\'/og; return ($str) ? "'$str'" : "null"; }


Comment on Re: checkbox
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-09-15 04:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (145 votes), past polls