Jump to content

[SOLVED] how do u echo MySQL queries for debugging purposes.


hyeteck

Recommended Posts

hey guys, how do u echo the MySQL queries for debugging purposes.

 

i did the following:

$catq_one = mysql_query("SELECT sectionID from `sections` WHERE sectionName='$cat_content' AND rootSection='1' ");
					echo "<br>First Cat Query: ".$catq_one."<br>";

 

but all its echoing out is

First Cat Query: Resource id #10

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.