Marius05 Posted June 9, 2012 Share Posted June 9, 2012 Va salut! Gaseste cineva problema la aceasta comanda in baza de de date pentru PS1.4.8 ? $query = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'customerage` ( `id_customer` int(11) NOT NULL, `name` text, `name_again` text, `is_show` int(11) NOT NULL default \'0\', KEY `id_customer` (`id_customer`) ) ENGINE='.(defined('_MYSQL_ENGINE_')?_MYSQL_ENGINE_:"MyISAM").' DEFAULT CHARSET=utf8'; Ma omoara de cateva ore si nu-i dau de cap Va multumesc ! Link to comment Share on other sites More sharing options...
Marius05 Posted June 10, 2012 Author Share Posted June 10, 2012 (edited) Daca cineva vrea sa imi spuna unde e problema nu ma supar !!! Am incercat o gramada de variante si nu vrea .... Edited June 10, 2012 by Marius05 (see edit history) Link to comment Share on other sites More sharing options...
lightsb Posted June 11, 2012 Share Posted June 11, 2012 incearca pe local host .. CREATE TABLE IF NOT EXISTS `ps_customerage` ( `id_customer` int(11) NOT NULL, `name` text, `name_again` text, `is_show` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id_customer`) Link to comment Share on other sites More sharing options...
Marius05 Posted June 11, 2012 Author Share Posted June 11, 2012 Eroare: #1064 - 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 '' at line 6 Link to comment Share on other sites More sharing options...
valentin.g Posted June 11, 2012 Share Posted June 11, 2012 NOT NULL default 0 Link to comment Share on other sites More sharing options...
lightsb Posted June 12, 2012 Share Posted June 12, 2012 CREATE TABLE IF NOT EXISTS `ps_customerage` ( `id_customer` int(11) NOT NULL, `name` text, `name_again` text, `is_show` int(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id_customer`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 am incercat pe localhost si merge ... Link to comment Share on other sites More sharing options...
Marius05 Posted June 12, 2012 Author Share Posted June 12, 2012 Intradevar, merge. Multumesc lightsb. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now