Help for this page

Select Code to Download


  1. or download this
        "CREATE TABLE IF NOT EXISTS visits
        (
    ...
           date date NOT NULL,
           primary key  (id)
        )");
    
  2. or download this
    (undef, undef, undef, $Day, $Month, $Year, undef, undef, undef) = loca
    +ltime(time);
    
    ...
    $Year += 1900;
    
    $MySQLDate = "${Year}-${Month}-${Day}";
    
  3. or download this
    select searchengine, date, count(*) from visits group by searchengine,
    + date order by date desc
    
  4. or download this
    select searchengine, date, count(*) from visits where date = '2004-01-
    +31' group by searchengine, date order by date desc
    
  5. or download this
    select searchengine, count(*) from visits group by searchengine