Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: Getting mysql data into gd

by roboticus (Chancellor)
on Sep 03, 2017 at 19:18 UTC ( #1198631=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $ST = $DB->prepare("select foo, bar from my_table "
                         ."where col1 < '$abc' or (col1 > '$def' and col3 
    +< $fgh)");
    $ST->execute();
    
  2. or download this
    my $ST = $DB->prepare("select foo, bar from table where col1 < ? or (c
    +ol1 > ? and col3 < ?)");
    $ST->execute($abc, $def, $fgh);
    
  3. or download this
    select foo, bar from my_table where col1 < '';
    drop table my_table
    ; --' or (col1 > 'def_val' and col3 < fgh_val)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2021-01-21 12:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?