Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.