Jump to content

Stumped on # in URL


TEENFRONT

Recommended Posts

Hey all,

 

Hoping this is a quick fix.. i have a little search system that searches player nicknames.. it works fine except when it run into a "#" character in the url.. it just for some reason totally doesnt recgonise anything.

 

When searching for this player "[Ram] Drummer Sam #1"  i urlencode it.

 

http://www....co.uk/search_players.php?type=usernick&value=[Ram]+Drummer+Sam+#1&submit=Find

 

doesnt work.. it misses off the #1 and only search for "[Ram] Drummer Sam " ...

 

Why is it not seeing the "#1" ?

 

more info

 

im usuing a simple $_GET['value']; in my code and using a  LIKE '%$value%'  in my search query.

 

Cheers guys !

Link to comment
https://forums.phpfreaks.com/topic/203688-stumped-on-in-url/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.