dynamic session variable in while loop
Hello Friends
I am fetching the records from database by using while($data=mysql_fetch_array($sqlresult)).Suppose I got 3 rows and I take the records as session variable.There is a hyperlink in each record.If I click the first link the page goes to another page and display the details according to that particular session variable for first link.When I come back to link page(previous page),then the previous session should be destroy n again when i click on the second link,then details should be display according to second session variable and so on...
Please tell me how to do this.
Thanx.
|