I think having a performance-friendly code is better than a user-friendly code.
However if you are determined to use queries all you can do is to mimic vb's behaviour of handling user signatures in posts. That is, after making your query and returning your result from MYSQL, store it in an array (cache) and before making any further queries, first check your array if the value already pulled and exist.
This will reduce the number of queries..
|