ubaldc36 Posted June 5, 2009 Share Posted June 5, 2009 this is my current url: http://axe03.asi.sikorsky.com/snonline_sn2565/snonline/SearchSn.php?snidnum=2565&sntitle=&chrgnum=&snstatus=Active&sncategory=*&person=*&role=*&snstdwk=*&op=2 at some point I create a new independent page with some actions on it, the user makes a choice, this window goes away and i want redirect automatically back to the url at the top of the page. since I seemingly can only use javascript.go(-2) from an event, i have tried to pass that whole url into an argument, say redurl, and when I come back I can redirect using this string.. here is the problem.. the redurl only comes back to "http://axe03.asi.sikorsky.com/snonline_sn2565/snonline/SearchSn.php?snidnum=2565", i am guess the _GET or _POST is attempting to parse the string, so it only returns the first piece of it. so, how do I direct back with this url as an argument in another url? or can I execute js:go(-2) anywhere in the php? i tried echo"js:go(-2)" and it only echoes it. thanks. -very confused Link to comment https://forums.phpfreaks.com/topic/161099-passing-arguments-in-a-url/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.