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'];

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

Hey there,

I have worked it out with the help of an awesome friend...

http://www.adslgeek.com/isps

echo $row['$ISPName'];
Should have been:
		echo $row['ISPName'];

oh, i didn`t notice that one any way u got the output:)

Thanks heaps tho, this really is the friendliest forum!!

yes, this is really friendliest forum!!
im also feeling like...........

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.