perhaps the version of mysql you have installed? it's got to be >3.22
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
i have this code.
function create_mysqltable($db_name,$table_name){
mysql_select_db($db_name);
$sql_query = "CREATE TABLE IF NOT EXISTS $table_name "
. "( id tinyint(4) DEFAULT '0' NOT NULL AUTO_INCREMENT, "
. " soort char(20), "
. " aantal varchar(20) DEFAULT '0', "
. " str_men varc