i have à while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) loop
in which i need to do another mysql query on every iterration
is that possible, if i remember right if i do the second mysql_query in the loop i'll lose the link to the first one?
you shouldn't NEED to, and should where possible avoid putting queries in loops.
why do you NEED to? can you accomplish this same task using an sql join?
It is possible to nest queries. Just make sure you use different variable names.
However, as thorpe has pointed out, it's generally better to avoid nesting if a join will get the job done. But sometimes you need them.