I think you mean ++$hid, otherwise the value is inserted before it is
incremented,
and why not change to $_GET["hid"] for future compatibility and just to make
sure.
Are there any scoping issues we don't know about, e.g. is this snippet
within a function?

Tim Ward
www.chessish.com

> -----Original Message-----
> From: Jason Young [mailto:[EMAIL PROTECTED]]
> Sent: 03 October 2002 05:15
> To: [EMAIL PROTECTED]
> Subject: Re: Incrementing the value 
> 
> 
> Try $hid++;
> 
> This automatically increments by one, its just much easier to 
> deal with 
> than +1 .. besides, it wouldn't work on my Win32 platform, either.
> 
> --Jason
> 
> Uma Shankari T. wrote:
> >  Hello ,
> > 
> >  <a href="Delay.php?hid=<?php echo $hid+1; ?>"><img 
> src="Gif/nextque.gif"
> >  border="0"></a>
> > 
> >  While clicking this link the $hid value get incremented 
> and fetch the value
> >  from the database according to that..the same thing is 
> working in linux
> >  platform and it is not working for the windows 
> platform..the value is not
> >  getting increment..Can anyone please tell me how to go 
> about with this..??
> > 
> >  Regards,
> >  Uma
> > 
> 
> 

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

Reply via email to