Короче такая таблица
id smallint(8) unsigned NOT NULL auto_increment,
email varchar(50) NOT NULL,
pass varchar(32) NOT NULL,
comp_name varchar(50) NOT NULL,
fio varchar(50) NOT NULL,
fio_dir varchar(50) NOT NULL default '',
city varchar(50) NOT NULL,
telephone varchar(50) NOT NULL,
mobile varchar(50) NOT NULL default '',
fio_manager varchar(50) NOT NULL,
active varchar(3) NOT NULL default 'off',
PRIMARY KEY (id)
такой запрос
$query = "INSERT INTO users (id, email, pass, comp_name, fio, fio_dir, city, telephone, mobile, fio_manager, active)
VALUES(NULL, $email, $pass, $comp_name, $fio, $fio_dir, $city, $phone, $mobile, $fio_manager, 'off');";
mysql_query($query);
такая ошибка =)
ERROR 1054 Unknown column 'ццццццццц' in 'field list'
люди хелп!