Viewing 3 replies - 1 through 3 (of 3 total)
  • hey

    i think what you’re looking for is $_GET[‘from’]

    have a look at the $_GET manual here

    Thread Starter Stefan

    (@stefan83)

    Hi haxxxton, That’s exactly what I’m looking for. Thanks!

    Thread Starter Stefan

    (@stefan83)

    Great, so I’m using echo htmlspecialchars($_GET["from"]); to get the from value. I’d now like to display different content based on the ?from= string value. Eg if ?from=/page/subpage show subpage content. if ?from=/page/subpage2 show subpage2 content etc. How do I do this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Get URI after certain characters’ is closed to new replies.