Yeah I do it a bit of both. If the query is going to be reused later on or if its going to be modified later in the script then I opt for method one but if not I simple use method 2.
And yes I generally done use the die function on my live sites except when testing for errors... etc... Because I usually just use if else statements to check to see if there are errors... etc
Comments
Daniel L. Rust - Lead Architect
Seattle, WA
Webmaster-Talk.com
Chroder.com
And yes I generally done use the die function on my live sites except when testing for errors... etc... Because I usually just use if else statements to check to see if there are errors... etc
The Royal Ram