Ilişkisel dizi ile alınıyor

0 Cevap php

Eğer php bir ilişkisel dizi vasıtasıyla aşağıdaki verileri getir eğer:

SELECT thread.id, thread.title, thread.content, author.username, author.id
FROM thread INNER JOIN author
ON author_id = author.id

Nasıl author.id ve thread.id ayırt edebilir?

$threads = select_Query('SELECT thread.id, thread.title, thread.content, author.username, author.id
                         FROM thread INNER JOIN author
                         ON author_id = author.id', $link);

0 Cevap