Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [MySQL][PHP]Wyświetlenie bazy
Apticer
post
Post #1





Grupa: Zarejestrowani
Postów: 7
Pomógł: 0
Dołączył: 26.04.2010

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


Mam (zapewne (IMG:style_emoticons/default/smile.gif) )banalny problem. Mam taką oto prościutka baze którą musze wyświetlić na stronie. Wydaje mi się, że musze stworzyć tabele, jakoś te wartości z bazy tam umieścić, następnie wyświetlić tabele. Niestety nie wiem jak te wartości tam umieścić. (IMG:style_emoticons/default/sad.gif)

Ten post edytował Apticer 1.06.2011, 21:40:37
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Apticer
post
Post #2





Grupa: Zarejestrowani
Postów: 7
Pomógł: 0
Dołączył: 26.04.2010

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


Zapytanie SQL:

CREATE TABLE KLIENCI(
NR_KLIENTACHAR( 8 ) NOT NULL ,
IMIE VARCHAR( 20 ) NOT NULL ,
NAZWISKO VARCHAR( 20 ) NOT NULL ,
NR_KARTY_KREDYTCHAR( 20 ) ,
FIRMA VARCHAR( 40 ) ,
ULICA VARCHAR( 24 ) NOT NULL ,
NUMERCHAR( 8 ) NOT NULL ,
MIASTO VARCHAR( 24 ) NOT NULL ,
KODCHAR( 6 ) NOT NULL ,
NIPCHAR( 12 ) NOT NULL ,
NR_TELEFONUCHAR( 16 ) NOT NULL ,
PRIMARY KEY ( NR_KLIENTA )
);

MySQL zwrócił komunikat: Dokumentacja
#1046 - No database selected


(IMG:style_emoticons/default/sad.gif)


#Edit
Oficialne wyznanie - jestem głupi (IMG:style_emoticons/default/smile.gif) Już wiem o co chodzi, dzięki. (IMG:style_emoticons/default/smile.gif)

Ten post edytował Apticer 1.06.2011, 20:23:36
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: 11.10.2025 - 12:31