próbuję stworzyć tabele poniższym skryptem, próbowałem na wiele sposobów i już mi nic nie przychodzi do głowy, gdzie tkwi błąd.
dzięki.
<?php require("skrypty\config.php"); $zapytanie = CREATE TABLE `users` ( `id` int DEFAULT '0' NOT NULL auto_increment, `login` text NOT NULL, `imie` text NOT NULL, `nazwisko` text NOT NULL, `password` text NOT NULL, `aktywny` ENUM ('yes','no') DEFAULT 'yes', `pole_1` text, `pole_2` text, `pole_3` text, `pole_4` text, `pole_5` text, UNIQUE id (id) ) ENGINE=MyISAM DEFAULT CHARSET=latin2 AUTO_INCREMENT=1; else { exit; } ?>