Click to See Complete Forum and Search --> : Special characters


ruchi bhindwale
11-17-2007, 02:59 PM
I have my code in four pages.

The first page had a field which redirects to page 1 where I perofrom some computations on the page1 variable. There are certain fields in page 2 also . After taking the input I am passing all those user entered field values along with the new value of page 1 variable obtained through computation to page 3. I am passing the page 1 variable through a hidden field. The third page performs computation on the page 2 variables and passes the result of computations on page 2 vaiables and the page1 variable result to page 4 where I display all these values in a graph. When I get the page1 variable in the last page I get the result as

$page1=$_GET['page1variable'];

$page1=value// (// appended in the end)

Due to this it considers $page1 to be a string which I am not able to display. I tried using trim functions but was unable to retrieve its value. Why is it appending // at the end of the value everytime I pass it using a hidden field. Could you please suggest what can I do ??

Thanks in advance