Help for this page

Select Code to Download


  1. or download this
    print header();
    
  2. or download this
    print start_html(-bgcolor=>"#FFFFFF",
    -text=>"#000000",
    -style=>{code=>$somecode},
    -script=>{code=>$Somejscript});
    
  3. or download this
        my ($sth, $row);
        $dbh = <useyourconnection>;
    ...
            # these are the rows that do exists do
            # what you want with those rows.
        }
    
  4. or download this
        $sth = $dbh->prepare (qq{ SELECT * FROM mytable WHERE some_column 
    += ? }); # The ? is a placeholder
        $sth->execute($str); # $str is what your searching for
        $row = $sth->fetchrow_hashref(); # This executes the above
        $sth->finish();# This closes the connection.
    
  5. or download this
    $dbh = SOMEDIR::SOMENAME::Connect();