Is there a way to spit out the contents of a variable holding the result of a query without using any loops? Need this to test what the query is returning...
$result = mysql_query(); $row = mysql_fetch_array($result); echo "<pre>"; print_r ($row); echo "</pre>";
Don't forget to supply a query string!
The <pre></pre> tags are not required, but make the print_r results easier to read!
HTH