Location: PHPKode > scripts > Page Views > gsg_pv_setup.php
<?php

include('gsg_pv_config.php');

function gsg_pv_setup() {

$create_query = 'CREATE TABLE gsg_pv_table (
views INT,
url VARCHAR(255),
id INT AUTO_INCREMENT, 
UNIQUE (id) )';
mysql_query( $create_query );

}

gsg_pv_setup();

$id = $_GET['gsg_pv_id'];

if ($id == '101010')
  echo "You have successfully installed!";

mysql_close($gsg_pv);

?>
Return current item: Page Views