Location: PHPKode > scripts > LX - Reciprocal Link Exchange > lx-reciprocal-link-exchange/lxsetup.php
<?php

include 'lxconfig.php';

MYSQL_CONNECT($dbserver,$dbuser,$dbpass) OR DIE("Unable to connect to database");
@mysql_select_db($dbname) or die("Unable to select database");

mysql_query("CREATE TABLE $dbtable (id int NOT NULL auto_increment, linkname VARCHAR(40), link VARCHAR(100), reciplink VARCHAR(100), text VARCHAR(100), email varchar(40), linkstatus tinyint(1), PRIMARY KEY (id), UNIQUE id (id), KEY id_2 (id))")or die("Create table Error: ".mysql_error());

mysql_query("INSERT INTO $dbtable VALUES('','Kaitaia Online','http://www.kaitaia.com/','http://www.kaitaia.com/','Kaitaia Online','hide@address.com','1')");

MYSQL_CLOSE();
exit;
?>
Return current item: LX - Reciprocal Link Exchange