I query 2 tables, table 1 gives back one row, table 2 gives back somewhere from 1 to 10 rows
Normally I would do a while loop mysql_fetch_array the query result, then just echo every fields out.
But because the html, where the data will be displayed in, is too big. And I don't want to make the hmlt into php.
So I am asking for a solution that can distribute(echo) data from that query to the html without using while loop or using while loop by a technique that I didn't know.