$query = "select * from table";
echo $query;
$result = mysql_query($query) or die(mysql_error());
check for specific error message with die statement. echo your query and copy and paste in phpadmin sql editor and execute for results. If the query not returning rows then might be the error.
rajarajan07
Nearly a Posting Virtuoso
1,447 posts since May 2008
Reputation Points: 167
Solved Threads: 239