![]() Mailinglisten-Archive |
Hallo ! Ich suche nach einer eleganten L�sung f�r ein 2 dimensionales Array. Der Ansatz wie folgt. Ich sende eine SQL an die MySQL Datenbank. Bsp.: $sql = "select tabelleA.spalte1, tabelleA.spalte2, tabelleB.spalte4 from tablleA, tabelleB where tabelleA.id = tabelleB.spalte3"; Die Antwort m�sste wie folgt aussehen. $antwort[0]['tabelleA_spalte1'] = "bla1"; $antwort[0]['tabelleA_spalte2'] = "blub1"; $antwort[0]['tabelleB_spalte4'] = "klack1"; $antwort[1]['tabelleA_spalte1'] = "bla2"; $antwort[1]['tabelleA_spalte2'] = "blub2"; $antwort[1]['tabelleB_spalte4'] = "klack2"; Man m�sste alles ausgehend von der SQL handeln. Ich w�rde mich �ber eine Info freuen. Mit freundlichen Gr��en Stephan
php::bar PHP Wiki - Listenarchive