It's not very clear what you want but the following could be it:

<?if(!isset($_GET['hid']))
{$h=1;}
else
{$h=$_GET['hid'];}?>

<a href="Delay.php?hid=<?php echo $h+1; ?>">
<img src="Gif/nextque.gif" border="0"></a>




> i have written code such that initially it will display the value 
> correspond to the value 1..after every click it will increment the value 
> 2,3...so on..but now it is displaying the value 1 and for after each click 
> again it is displaying 1 and 2...so on

> I have intiallised the value for the variable as 

> if(!$_GET['hid'])
> $hid=1;

> like that..Can anyone please tell me how to avoid displaying the value 1 
> again..??




____________________________________________________________
Watch a championship game with Elway or McGwire.
Enter Now at http://champions.lycos.com 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to