ID: 15052
User updated by: [EMAIL PROTECTED]
Old Summary: Reserved Variable Name "id" ?
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Variables related
Operating System: WIn2k
PHP Version: 4.0CVS-2002-01-15
New Comment:

Hi, I hope this is really a bug and I'm not too stupid:

In a larger script I used to embed variables in links, like this:
search.php?a=1&b&c=2 which worked perfectly.

But when I used "id" as Variablename it always got lost, so what
should
be "search.php&id=1" became "search.php&id=ressource id #1".

I looked for hours for the problem, than I renamed "id" to "it", and
now
the variables are transferred correctly and the program works.. 

So is id perhaps some kind of variable that is used by php internally
?
I searched in the docus and the bug reports, but didn't find anything
on
it. 



Previous Comments:
------------------------------------------------------------------------

[2002-01-15 11:56:22] [EMAIL PROTECTED]

Hi, I hope this is really a bug and I'm not too stupid:

In a larger script I used to embed variables in links, like this:
search.php?a=1&b&c=2 witch worked perfectly.

But when I used "id" as Variablename it always got lost, so what should
be "search.php&id=1" became "search.php&id=ressource id #1".

I looked for hours for the problem, than I renamed "id" to "it", and
now the variables are transferred correctly and the program works.. 

So is id perhaps some kind of variable that is used by php internally ?
I searched in the docus and the bug reports, but didn't find anything
on it. 



------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=15052&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to