Mailinglisten-Archive |
Hallo Wolfgang,
> $result = mysql_query("SELECT
> anreise.*,arbeitsplatz.*,ausweise.*,event.*,logo.*,messekatalog.*,
> mktgmaterial.*,party.*
> FROM anreise,arbeitsplatz,ausweise,event,logo,
> messekatalog,mktgmaterial,party
> WHERE event.event_id = '$register_id'" );
mit 8 (!)Tabellen hab ich's noch nicht versucht aber bei drei'n klapts in
der Art:
SELECT t1.*, t2.*, t3.*, t4.*, t5.*, t6.*, t7.*, t8.* FROM
anreise as t1, arbeitsplats as t2, ausweise as t3,
event as t4, logo as t5, messekatalog as t6,
mktgmarterial as t7, party as t8
WHERE t1.anreise_id = t2.arpeitsplatz_id AND
t2.arbeitsplatz_id = t3.ausweise_id AND
t3.ausweise_id = t4.event_id AND
t4.event_id = t5.logo_id AND
t5.logo_id = t6.messekatalog_id AND
t6.messekatalog_id = t7.mktgmaterial_id AND
t7.mktgmaterial_id = t8.party_id AND
t8.party_id = '$register_id'
wuerde mich interessieren ob's funzt
---
!!NEU!!
Fragen und Antworten zu MySQL und dieser Liste unter
-->> http://www.4t2.com/mysql
php::bar PHP Wiki - Listenarchive