Тема: fetch and Report
Показать сообщение отдельно
Старый 21.04.2004, 15:57   #4  
Omeo is offline
Omeo
Участник
 
129 / 50 (2) ++++
Регистрация: 18.03.2004
Адрес: Moscow
упрощенная версия но сути не меняет

PHP код:
while
    
select from Table1
        where Table1
.cid == m_pcq.cid
    join Table2
        where Table2
.tid == Table1.tid
    
{
        
this.send(Table2);
    }