Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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"; }

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 meditating upon the Monastery: (6)
As of 2016-06-29 06:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (369 votes). Check out past polls.