[PHP] RE: Incrementing the value

2002-10-04 Thread Jason D
It's not very clear what you want but the following could be it: > 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 >

[PHP] RE: Incrementing the value

2002-10-03 Thread Tim Ward
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 > -Origina

[PHP] Re: Incrementing the value

2002-10-02 Thread Jason Young
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 , > >border="0"> > > While clicking this link the $hid value get incremented and fetch the value