passing values appended to URL

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
juansoul
New php-forum User
New php-forum User
Posts: 29
Joined: Tue Oct 08, 2002 6:33 pm

Mon Nov 04, 2002 1:29 pm

Im trying to pass a variable value to a php file through a link, and it works but the value Im trying to pass contains a # symbol and everything after the # symbol does not get passed to the php file.

this is what I have
<a href="thefile.php?item=widget#1234">link</a>

and what gets passed to the php file is this

widget

everything after the # symbol doesnt get passed how do i pass the symbol and the numbers ???


juansoul
New php-forum User
New php-forum User
Posts: 29
Joined: Tue Oct 08, 2002 6:33 pm

Mon Nov 04, 2002 1:40 pm

Is there any way to escape the # sign?

Jay

Mon Nov 04, 2002 1:53 pm

No, because the problem is with the html entity. Have a look at that function, it'll make it all clear.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 8 guests