Value changes after $_GET
Posted: Wed Aug 02, 2006 1:52 am
Hello,
I want to open a new window using javascript.
Where member is for example 0654.
Now when the pages opens I'm reading the value with a $_GET[member] statement:
Problem: The value has changed from 0654 to 428.
I think it's a decimal/octal problem right? And is there a simple way to work around it?
Thank
I want to open a new window using javascript.
Code: Select all
Popup=window.open("view_result.php?ref="+reference+"&member="+membernumber, "view")Now when the pages opens I'm reading the value with a $_GET[member] statement:
Code: Select all
echo "<B>Member</B>: $_GET[member] )<P>";I think it's a decimal/octal problem right? And is there a simple way to work around it?
Thank