in reply to Re^2: Finding local vs Global Error
in thread Finding local vs Global Error
BTW, Here is the structure of my table in MYSQL:Option type requires an argument DBD::mysql::st execute failed: You have an error in your SQL syntax ne +ar ' 0)' at line 2 at libbuilder.pl line 91. Issuing rollback() for database handle being DESTROY'd without explici +t disconnect().
Just wondering, since I'm using enum in MYSQL, can I represent my default variable as a 0? - CappaDatabase changed +----------+---------------------------------+------+-----+---------+- +------+ | Field | Type | Null | Key | Default | +Extra | +----------+---------------------------------+------+-----+---------+- +------+ | filename | varchar(60) | | PRI | | + | | filedir | varchar(80) | | | | + | | filetype | enum('article','email','other') | | | article | + | +----------+---------------------------------+------+-----+---------+- +------+ 3 rows in set (0.00 sec)
|
|---|