View Single Post
Old 01-09-2008, 05:37 PM   #6 (permalink)
Wildhoney
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,258
Thanks: 90
Wildhoney is on a distinguished road
Default

To be honest on point #6, if I ever do inline MySQL, which I do from time-to-time, even still, then I do use $szQuery merely because it describes what it is, it just doesn't describe the finer details of its content. And I think that's very important.

I could name my query string variables $szLoginQuery but I feel variables shouldn't be so descriptive. When you start having to add many inline queries concurrently - to which would require differently named variables, then I don't think the problem is necessarily the variable naming scheme, but rather the fact that such concurrent queries should be moved off into classes and thus the query variable name can remain nondescript and vague.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote