Help for this page

Select Code to Download


  1. or download this
      |-USER------|
      | id        | (a unique identifier for the row)
    ...
      | last_time | (the last time we saw the user)
      | url       | (the user's URL)
      |-----------|
    
  2. or download this
      |-ALLIP-----|
      | id        | (a unique identifier for the row)
    ...
      | ip        | (the IP address)
      | time      | (the time it was seen)
      |-----------|
    
  3. or download this
    my $sql = <<SQLCODE;
      SELECT
    ...
    {
        die( "Database error " . $dbh->errstr . "\n" );
    }
    
  4. or download this
    my $found_id = undef;
    my $sql = <<SQLCODE
    ...
        # perform insert
        # code left to read as an exercise
    }