0

Hi there,

If someone is able to help me out, I will be forever grateful!
All I am getting from the code is: Resource id #3

The SQL works sweet and is returning the correct result..

http://www.adslgeek.com/ispsearch.php

//IMPORT ISP DETAILS
	
		$sql="SELECT `ISPName`
				FROM `isps`
				WHERE `ID` = 4";
		$result = mysql_query($sql);
		$row = mysql_fetch_row($result);
		
//	ISP SQL SEARCH

		echo $sql ;
		echo $result ;
		echo $row['$ISPName'];
3
Contributors
5
Replies
6
Views
9 Years
Discussion Span
Last Post by Shanti C
0

hi, you r getting that because u have echoed mysql_query remove echo $result and change mysql_fetch_row to mysql_fetch_assoc and try u may get the desired result

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.