Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 meditating upon the Monastery: (8)
As of 2014-07-31 23:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (255 votes), past polls