Location: PHPKode > scripts > Very Simple Events List > very-simple-events-list/install.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>VSEL Installation</title>
<link rel="stylesheet" href="styles.css" type="text/css">
</head>

<body>
<?php
include 'config.php';
include 'library/opendb.php';

$query = 'CREATE TABLE events( '.
         'id INT NOT NULL AUTO_INCREMENT, '.
		 'date DATE NOT NULL, '.
         'time TIME NOT NULL, '.
		 'showTime BOOL NOT NULL, '.
		 'venue TEXT NOT NULL, '.
         'description TEXT NOT NULL, '.
         'PRIMARY KEY(id))';

mysql_query($query) or die('Installation failed...');

include 'library/closedb.php';
?>
Installation successful!<br>
<br>
<a href='login.html'>you can login now</a>
</body>
</html>
Return current item: Very Simple Events List