Lests Ben temel bir döngü var diyelim:
<? $count = 0;
while ( $count < 20 ):
$count++; ?>
**$page = 'unique value which changes every time it counts, it loops';**
<a href="http://www.mysite.com/page.php">Link<? echo $count; ?></a>
<? endwhile; ?>
I need a ajax/javascript code (does not matter really) for when I click lets say link nr 16 (displayed from the while loop) it sends me the $page variable with the content for link nr. 16. Not really sure how to make myself understood :( Sorry if my q sounds unclear.
Please, no php methonds, not get or session variables