If your not using a class to execute your queries how would you normally do it... which one of the follwoing or even different perhaps...
One:[PHP]$query = "SELECT * FROM `table`";
$result = mysql_query($query) or die ("Error");[/PHP]
Two:[PHP]$result = mysql_query("SELECT * FROM `table`") or die ("Error");[/PHP]
Its basically down to preference but which do you do?
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