[SOLVED] Problem with $_GET and a # in the string :(

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Seiya
Forum Newbie
Posts: 2
Joined: Sat Apr 09, 2005 9:18 pm

[SOLVED] Problem with $_GET and a # in the string :(

Post by Seiya »

Here is my problem, the url is somethinkg like:

file.php?name=$stringhere

it works awesome, however in one of my users he has a # in his nick,
i could easily just hcange his nick but i want to know if there is a way for a # to work :/

Just posting here maybe you guys know , but i will keep going at it until i figure it out
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

urlencode()

Thats should do it ;-)
Seiya
Forum Newbie
Posts: 2
Joined: Sat Apr 09, 2005 9:18 pm

Post by Seiya »

Thanks, it indeed did it ;D
Post Reply