Page 1 of 1

Anything wrong with this

Posted: Sat Jan 22, 2005 12:38 am
by pinehead18
<input type=hidden name=name value=".$_GET['name'].">

Anything wrong with that? If i echo $_GET['name']; it shows the right info however in that form above it will not work.

Any ideas?

Thanks
Anthony

Posted: Sat Jan 22, 2005 1:03 am
by feyd
what's the code leading up to this?

Posted: Sat Jan 22, 2005 12:25 pm
by Bill H

Code: Select all

"<input type=hidden name=name value='" . $_GET&#1111;'name'] . "'>"
The dots mean nothing unless this is a php quoted string, so I assume that's what it is.
Notice the quotes. The value probably needs to be quoted.