Hi Jako,
like Zeggy mentioned above, use two separate queries one after the other - unless the info from one query is used as input for the other query in which case you can do:
-- START --
// Define 1st query here - you can use 'limit 1' in your sql to force it to be only one row if you wish
$query1 = [ queries info from one row only ]
// The 'while' loop below will execute only once
while [ fetching info based on query1 ] {
[ get the data from query1 ]
// Define 2nd query here
$query2 = [ query to loop, populated with data from query1 ]
while [ fetching info based on query2 ] {
[get the data from query2 ]
}
}
-- END --
Hope this helps somewhat - PM me with more details if you need some more help (and I wish the indent would work
)
Cheers,
Mike