error en phpmyadmin:
Código PHP:
#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 'message` TEXT NOT NULL ,
`from` INT( 11 ) NOT NULL ,
`to` INT( 11 ) NOT NU at line 7
esta es la estructura:
Código PHP:
CREATE TABLE `messages` (
`id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`title` VARCHAR( 255 ) NULL
`message` TEXT NOT NULL ,
`from` INT( 11 ) NOT NULL ,
`to` INT( 11 ) NOT NULL ,
`from_viewed` BOOL NOT NULL DEFAULT '0',
`to_viewed` BOOL NOT NULL DEFAULT '0',
`from_deleted` BOOL NOT NULL DEFAULT '0',
`to_deleted` BOOL NOT NULL DEFAULT '0',
`from_vdate` DATETIME NULL ,
`to_vdate` DATETIME NULL ,
`from_ddate` DATETIME NULL ,
`to_ddate` DATETIME NULL ,
`created` DATETIME NOT NULL
) ENGINE = MYISAM ;
http://www.pixel2life.com/publish/tu...saging_system/
quisiera saber si es posible reparar algun error de la tabla ,o si modificando algo del codigo puedo hacerlo compatible con phpmyadmin 2.11.9.4 uso la version de php 5.2 , nose si usa register_global ON O /OFF..
gracias por su ayuda..
xao
![Adios](http://static.forosdelweb.com/fdwtheme/images/smilies/adios.gif)