Jump to content

url _Get with #'hash' ...problem


ziggy_909

Recommended Posts

Hi

 

I'm using this piece of code to post back an 'id' to the same page that it came from...

my problem is extracting 'id' from the url .. upon researching i believe php cant read anything after the #'hash' symbol..

 

is there another way to post to same page with out the hash symbol ..

 

<a href="#?id=<?php echo $row['issues_id']; ?>"><img src="/update.jpg" alt="update" width="16" height="16" border="0" /></a>

 

thanks in advance...

 

Link to comment
https://forums.phpfreaks.com/topic/223101-url-_get-with-hash-problem/
Share on other sites

upon researching i believe php cant read anything after the #'hash' symbol..

Correct.

 

is there another way to post to same page with out the hash symbol ..

Use AJAX or, if you don't mind the page refresh, something that isn't a #.

 

Use AJAX or, if you don't mind the page refresh, something that isn't a #.

 

never used AJAX before if you could point me kindly in the right direction...

 

also refresh isn't a problem.. what else can i use instead of the #

as its not possible to use the full url in my case.

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.