Forums

cannot create Table no 2

glambrecht 11 Jul, 2012
I've used the tutorial and made a table and the form for "Kontakt" as well.
everythng works fine
but when I try to create table no 2 for the other form "Book" - I cannot create this
and get this message:

Check table query below:
CREATE TABLE IF NOT EXISTS `tiende__chronoforms_data_book` ( `cf_modified` DATETIME, `navn` VARCHAR(255), `email` VARCHAR(255), `emailigen` VARCHAR(255), `telefon` VARCHAR(255), `ankomstdato` VARCHAR(255), `antalovernatninger` VARCHAR(255), `overnatning` VARCHAR(255), `endvidere` VARCHAR(255), `input_textarea_5` VARCHAR(255), );

(I named it tiende - as I thought it was because of the # it wouldn't make a table)
GreyHead 13 Jul, 2012
Hi glambrecht ,

The , after the last VARCHAR(255) suggests that you may have an extra row checked with no name?

The query without the , creates a table OK.

Bob
This topic is locked and no more replies can be posted.