Re: [PHP] Accessing a form variable before the form is posted

2002-06-21 Thread Ma Siva Kumar
Thanks for the help Duncan Hill wrote: > Use different variable names. Or make your function return a value, and > use assignment to handle it. Finally I made the function to take the select name as an optional variable and used different names for the two. This helped me in other situations

Re: [PHP] Accessing a form variable before the form is posted

2002-06-21 Thread Duncan Hill
On Fri, 21 Jun 2002, Ma Siva Kumar wrote: > In one of the forms, there is a selection for City in the address details > as well as one for the port of destination. If I use the function both the > the select name will be form[city_id]. The port of destination selection > overwrites the form[city_