Tips to Improve Your Coding and Projects
View Single Post
03-09-2008, 08:33 PM
Join Date: Jan 2008
I have recently got into the habit of using prefixes to my variables. Such as:
a mysql query = $qQueryName
a result = $rQueryName
a message = $mMessageName
a variable = $vVariableName
They really do help me, at least, structure my code and makes them easy to see what they are.
Thanks for the great read, VI.
The Following User Says Thank You to Gareth For This Useful Post:
View Public Profile
Send a private message to Gareth
Find More Posts by Gareth