Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> wielki problem
webtronic
post
Post #1





Grupa: Zarejestrowani
Postów: 32
Pomógł: 0
Dołączył: 27.02.2004

Ostrzeżenie: (0%)
-----


co sie dzieje wykonuje to zapytanie do bazy
[sql:1:3d2efeb218]CREATE TABLE galery_b (
id int(32) NOT NULL auto_increment,
cat varchar(32) NOT NULL,
title varchar(64) NOT NULL,
date datetime DEFAULT '0000-00-00 00:00:00' NOT NULL,
name varchar(16) DEFAULT '0' NOT NULL,
size varchar(32) NOT NULL,
width int(4) NOT NULL ,
height int(4) NOT NULL ,
widthm int(4) NOT NULL ,
heightm int(4) NOT NULL ;
PRIMARY KEY (id)
);[/sql:1:3d2efeb218]
i wyskakuje mi taki blad

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 11

prosze o pomoc
Go to the top of the page
+Quote Post
slaug
post
Post #2





Grupa: Zarejestrowani
Postów: 92
Pomógł: 0
Dołączył: 2.05.2003
Skąd: Gdańsk

Ostrzeżenie: (0%)
-----


W tej linijce:

heightm int(4) NOT NULL ;

nie powinno być średnika


--------------------
Never underestimate the power of human stupidity!
Go to the top of the page
+Quote Post
webtronic
post
Post #3





Grupa: Zarejestrowani
Postów: 32
Pomógł: 0
Dołączył: 27.02.2004

Ostrzeżenie: (0%)
-----


wielkie dzieki biggrin.gif
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 19.08.2025 - 04:09