|
-
Aug 7th, 2005, 08:35 AM
#1
Thread Starter
Fanatic Member
running PHP during onClick
I've made an rss aggregator using PHP, which can tell people when certain feeds they are watching have been updated. I provide a page where they can mark feeds as 'seen', and also provide links to the sites related to each feed.
Many users however have been asking for the status of their feeds to be updateed whenever they click on the link. Is this possible in php?
I was thinking there may be some way to intercept the <a href> click, possibly using JavaScript, so that when it was followed the php update function was called...however, I have no idea whether it is possible to mix the two languages like this, as one is client-side and one is server-side.
Even, would it be possible to send a request when the link is followed, to the server giving it the information required (in this case, two integers) so it can perform a php script while not opening any new windows?
Thanks
sql_lall 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|