Help for this page

Select Code to Download


  1. or download this
      my $data = qq(INSERT INTO searches (search, engine, time) values(?,?
    +,NOW()));
      my $sth = $dbh->prepare($data);
      $sth->execute("$search", "$engine");
    
  2. or download this
        "CREATE TABLE IF NOT EXISTS searches
        (
    ...
           time datetime,
           primary key  (id)
        )");