ziggy_909 Posted December 31, 2010 Share Posted December 31, 2010 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... Quote Link to comment https://forums.phpfreaks.com/topic/223101-url-_get-with-hash-problem/ Share on other sites More sharing options...
requinix Posted December 31, 2010 Share Posted December 31, 2010 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 #. Quote Link to comment https://forums.phpfreaks.com/topic/223101-url-_get-with-hash-problem/#findComment-1153432 Share on other sites More sharing options...
ziggy_909 Posted December 31, 2010 Author Share Posted December 31, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/223101-url-_get-with-hash-problem/#findComment-1153435 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.