Thread: Help with Query
View Single Post
Old 09-19-2012, 11:48 PM   PM User | #11
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,210
Thanks: 59
Thanked 3,996 Times in 3,965 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
USUALLY it's better not to do that. It eliminates the possibility of making some really interesting queries that can easily be made with your current design.

Honest, the PHP code to do this is trivial. I don't even use PHP, but I could write it (probably with some PHP syntax errors, but the logic of it is trivial).
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is online now   Reply With Quote