Dears
I am using Query, then I use mysql_num_rows for finding number of records, and then echo Num_rows.
Now I want to make a hyperlink on count so it can show all details of query in new <div>.
How I can make echo"$num_rows \n"; dynamic link.

$result = mysql_query("SELECT * FROM lims_payment WHERE `crDate` LIKE '0000-00-00' AND `cDate` NOT LIKE '0000-00-00' AND `Reasons` !=  ''");
$num_rows = mysql_num_rows($result);
echo "$num_rows \n";

link to num rows?
do you mean like this

echo "<a href='youpage.php?id=$num_rows'>$num_rows</a>";