Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

deMize's scratchpad

by deMize (Monk)
on Mar 02, 2009 at 18:08 UTC ( [id://747513]=scratchpad: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if(length $string>256){
       # remove trailing spaces
    ...
          $string = substr($string,0,256);
       }
    }
    
  2. or download this
       $dbh->do(
             "CREATE TABLE $table ("
    ...
          #$sth->bind_param(2,"$fld2",DBI::SQL_VARCHAR);
          print $fld2; #prints 0002
          $sth->execute($fld1,$fld2,$fld3);
    
  3. or download this
          $sql = "INSERT INTO $table VALUES('$fld1','$fld2','$fld3')";
          #print $sql . "\n";
          $dbh->do($sql);
    
  4. or download this
    #! /usr/lcl/bin/perl
    
    use DBI;
    ...
    sub _forminfo {
       ...
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-25 09:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found