Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [MySQL][PHP]Problem z systemami newsów.
csniebo
post
Post #1





Grupa: Zarejestrowani
Postów: 12
Pomógł: 0
Dołączył: 22.02.2013

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


Witam, Prosił bym o pomoc gdyż usiłuję zrobić na swojej stronie system newsów z poradnika, ale mam problem bo przepisuje dokładnie kod do stworzenia nowej tabeli w bazie danych i wyskakuje błąd, prosił bym o poprawienie kodu.

Link do systemu newsów:
http://komputery.spryciarze.pl/zobacz/jak-...-na-stronie-2-4

Kod do tworzenia bazy:
create table 'news' (
'id' int ( 11 ) not null auto_increment,
'namenews' varchar(100) not null default '',
'content' varchar(2000) not null default '',
'date' varchar(100) not null default '',
primary key ( id )
)
Kod błędu zapytania:
#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 ''news' ( 'id' int ( 100 ) not null auto_increment, 'namenews' varchar(100) not' at line 1
Jak ktoś może pomóc to bardzo proszę.

Ten post edytował csniebo 20.05.2013, 18:30:27
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 27.09.2025 - 15:29