proctk Posted August 22, 2007 Share Posted August 22, 2007 hi when the below is clicked i want it to trigger some code at the top of the page. I code do it by passing a value through the url and using isset. I want to do it without passing a value through the url <a class="mailText" href="readmessage.php?m=<?php echo $sentMessages['message_id']; ?>"><?php echo $sentMessages['subject']; ?></a> Link to comment https://forums.phpfreaks.com/topic/66263-link-trigger-code/ Share on other sites More sharing options...
tibberous Posted August 23, 2007 Share Posted August 23, 2007 Use mod rewrite. Link to comment https://forums.phpfreaks.com/topic/66263-link-trigger-code/#findComment-331459 Share on other sites More sharing options...
proctk Posted August 23, 2007 Author Share Posted August 23, 2007 code you give an example Link to comment https://forums.phpfreaks.com/topic/66263-link-trigger-code/#findComment-331469 Share on other sites More sharing options...
Fadion Posted August 23, 2007 Share Posted August 23, 2007 U can find a cheat sheet for mod_rewrite here. About what u need to do, url variables are a very good way and i cant see to find a reason why not use them. If you really have the need for such a thing then consider using ajax. Link to comment https://forums.phpfreaks.com/topic/66263-link-trigger-code/#findComment-331513 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.