![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 269 Pomógł: 0 Dołączył: 6.02.2006 Ostrzeżenie: (0%) ![]() ![]() |
Struktura tabel:
box: Kod `id` int(11) NOT NULL auto_increment, `txt` text NOT NULL, `idusera` int(6) NOT NULL default '0', `data` varchar(50) NOT NULL default '', users Kod `user_id` int(11) NOT NULL auto_increment, `ksywa` varchar(100) NOT NULL default '', ... Probuje je polaczyc by otrzymac nazwe usera /ksywe z bazy users/ zanajc jego idusera /z bazy box/. Kluczem łączącym obie tabele jest idusera w box oraz user_id w users. Stosuje :
Błąd w 5 lini : Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in... Ten post edytował free 10.10.2006, 17:02:20 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 1 873 Pomógł: 152 Dołączył: 9.04.2006 Skąd: Berlin Ostrzeżenie: (0%) ![]() ![]() |
idusera.b=user_id.u nie tak pierw dajesz prefix czyli b.idusera itd. (IMG:http://forum.php.pl/style_emoticons/default/winksmiley.jpg) polecam mysql_error()
|
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 269 Pomógł: 0 Dołączył: 6.02.2006 Ostrzeżenie: (0%) ![]() ![]() |
Dzieki poprawiłem i działą :-)
Dawno nie łączyłem w ten sposob stą pomyłka ;-) |
|
|
![]() ![]() |
![]() |
Aktualny czas: 25.08.2025 - 12:35 |