| Posted by Erwin Moller on 11/17/05 10:54 
meltedown wrote:
 Hi,
 
 > urlencode turns # into %23
 
 Yes.
 
 > When I sent it thru $_GET, it dissapears, along with anything that comes
 > after it.
 
 What does that mean?
 "sending through $_GET" ???
 Do you mean you use some URL?
 
 You do not send anything through $_GET, you use $_GET to retrieve values
 encoded in GET.
 
 >
 > for example:
 > urlencode turns
 > HOYDM_EXC_#4_NAT
 > into HOYDM_EXC_%234_NAT
 >
 
 yes.
 
 > When I use it in an url
 > index.php?id=HOYDM_EXC_%234_NAT
 >
 > $_GET[id]=HOYDM_EXC_
 >
 > Am I doing something wrong ?
 
 Yes.
 
 If you want the value of 'id' from the URL (GET) use:
 
 $bla = $_GET["id"];
 
 Regards,
 Erwin Moller
 [Back to original message] |