Personal Notes via PHP
View Single Post
05-07-2009, 11:29 PM
Join Date: Feb 2009
Location: New York
Originally Posted by
ah yes my friend told me to use && i dont quite know the big difference.
I like to go for readability.
So AND instead of &&.
OR instead of ||
etc...other than preference, I don't think SQL really cares which way you do it...
I also like to make my SELECT statements capitalized and columns,tables lowercase like this:
SELECT * FROM user WHERE user_id = 5;
Again, just preference.....
View Public Profile
Send a private message to allworknoplay
Find More Posts by allworknoplay