CREATE TABLE `textbase` ( `id` INT( 11 ) NOT NULL AUTO_INCREMENT , `name` TEXT NOT NULL , `date` DATE NOT NULL ,PRIMARY KEY ( `id` ));
<?php $dbhost = 'localhost';$dbusername = 'root';$dbpassword = 'mypassword';$dbname = 'mydbname';$conn=mysql_connect($dbhost, $dbusername, $dbpassword);if(!$conn) : die('Could not connect: ' . mysql_error());endif;$db=mysql_select_db($dbname, $conn);if(!$db) : die ('Can\'t connect to database : ' . mysql_error());endif;?>
<?phpinclude('config.php');$value2 = 'value two';$value3 = 'now()';mysql_query("INSERT INTO textbase (name, date) VALUES ('$value2','$value3')");?>
$value1 = "auto_increment"