hyeteck Posted February 18, 2007 Share Posted February 18, 2007 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 Link to comment https://forums.phpfreaks.com/topic/39009-solved-how-do-u-echo-mysql-queries-for-debugging-purposes/ Share on other sites More sharing options...
fert Posted February 18, 2007 Share Posted February 18, 2007 http://us3.php.net/manual/en/function.mysql-fetch-array.php Link to comment https://forums.phpfreaks.com/topic/39009-solved-how-do-u-echo-mysql-queries-for-debugging-purposes/#findComment-187815 Share on other sites More sharing options...
sspoke Posted February 18, 2007 Share Posted February 18, 2007 $catq_one = POINTER Link to comment https://forums.phpfreaks.com/topic/39009-solved-how-do-u-echo-mysql-queries-for-debugging-purposes/#findComment-187816 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.