There are two different queries.
select * from blockinfo where book='$cod' and user='$user'
select * from blockinfo where user='$user' and book='$cod' and flag!=0"
these two queries are to be executed on pages like these example.com and example.com?cod=value. I have to process first query on all rows followed by second query. I have to process using two while loops.
Can I process two queries using single loop?
