View Single Post
02-20-2008, 03:58 PM
Join Date: Feb 2008
I tend to put a tab line in and start each part of the statment on the tab line so if ofen looks like:
$myquery= "SELECT * FROM table WHERE something ='something'"
so like SOCK says but use the tab button, I like to have it in a line so its line1: selecting what, line2: criteria or results, and line3+: my orderby/sortby.
obviously if its a more complex query it changes with joins and what not but thats my basic format for queries.
View Public Profile
Send a private message to Pete
Find More Posts by Pete