Posted by:
CyberSpatium
(---.hsd1.or.comcast.net)
this is not a php.ini or config.ini.php problem. what ever you changed in those files, change them back. this is a human error. you are not useing the correct sql syntax for your create statements. make sure you are using the right sql struction for your create statement.
$dblink = mysql_connect ('localhost', 'root', 'password');
$dbase = mysql_selectd_db ('_Your_Database_Name_Here_', $dblink);
$sql = "
CREATE TABLE sometable (
id INTEGER UNSIGNED NOT NULL PRIMARY KEY,
somedata1 TEXT,
somedata2 DATETIME
);
";
$result = mysql_query ($sql, $dblink);
Post Edited (04-21-06 22:32)
CyberSpatium----------------------WAMP Forum Admin
Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.