You need to have a hidden input type that your PHP will increment each time
the page is recalled. Then, have an if or case statement that checks the
value of that hidden type to take appropriate action.
Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Thor Vadstein" <thor@l...>
To: "professional php" <pro_php@p...>
Sent: Thursday, March 15, 2001 10:21 PM
Subject: [pro_php] Re: Variables PHP <=> JavaScript
> > not directly no. Remember that Javascript is on the client and PHP is
> on
> > the server. Thus Javascript can/will make either a POST or a GET to the
> > server passing variables the appropriate ways (querystring, etc..) from
> > there you can use them normally in your PHP code.
> >
>
> I will have to call the page again with the variables as part of the url,
> is that what you mean?
> Is there an easy way to separate between first and second (subsequent)
> calls to a page?
>
> Regards,
> ThorV.