Hi,
How to store while data result set into the session variables and how retrieve the appropriate the session values of the hyperlink on test.php(on another page)... please help me out...thanks
Hi,
session_start();
$query="select id,name from test";
$result=mssql_query($query);
while($row=mssql_fetch_assoc($result))
{
$pid=$row['id'];
$pname=$row['name'];
echo "<tr>"
echo "<td>";
** echo "<a href=test.php>$pid</a>";**
echo "</td>";
echo "<td>";
echo "<a href=test.php>$pname</a>";
echo "</td>";
echo "</tr>";
}