ok, when i'm trying to create an table in mySQL with this code:
what can i do for fixing this?
| Code: |
|
<?php include("db.php"); mysql_query(" CREATE TABLE `ønsker` (' `id` INT (8) NOT NULL AUTO_INCREMENT, `navn` VARCHAR (255) NOT NULL, `hilsen` TEXT NOT NULL, `ip` VARCHAR (255) NOT NULL, `username` VARCHAR (255) NOT NULL, ORIMARY KEY (`id`) ') TYPE = MYISAM ") or die(mysql_error()); ?> |
| Code: |
| You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' `id` INT (8) NOT NULL AUTO_INCREMENT, `navn` VARCHAR (255) N |
what can i do for fixing this?
