![]() |
SOLVED - Problem executing a install query adding a table - SOLVED
trying to add a table, and my first query didnt work
so i copyed a "working" install query and replaced the names with my own. :D :up: well that didnt work either [sql] $db->query_write("CREATE TABLE IF NOT EXISTS `" . TABLE_PREFIX ."elinkscat` ( `Cid` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY, `Cname` text, `Cright` text,) "); [/sql] my usual error is i forget 1 ) at the end, but that is ok. :erm: --------------- Added [DATE]1235049106[/DATE] at [TIME]1235049106[/TIME] --------------- OMG EDIT LOL.. . Im using a EXTRA , AT the end, before the ) roflmao.. DOH!! |
I always format my queries like below. If you make a mistake, it will quickly show:
PHP Code:
|
All times are GMT. The time now is 05:06 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|