Pass HTML code from one page to another

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • luftikus143
    New Member
    • Jan 2007
    • 97

    Pass HTML code from one page to another

    Hi there,

    I would like to pass HTML code from one page to another. As with parameters, I would like to use "input type=hidden"... . But somehow the HTML must be encoded, otherwise my whole page sucks. Is there an easy way to do that?

    Thanks for any suggestions!
  • hsriat
    Recognized Expert Top Contributor
    • Jan 2008
    • 1653

    #2
    Post your code what you are using right now. I could not figure out how are you doing this. With PHP or JS?

    Comment

    • luftikus143
      New Member
      • Jan 2007
      • 97

      #3
      Puh.... urlencode resp. urldecode seems to be the solution....

      Comment

      • ak1dnar
        Recognized Expert Top Contributor
        • Jan 2007
        • 1584

        #4
        Originally posted by luftikus143
        Puh.... urlencode resp. urldecode seems to be the solution....
        Could you please post the solution you found. then most of us can learn from that.

        --Thanks

        Comment

        • Atli
          Recognized Expert Expert
          • Nov 2006
          • 5062

          #5
          I would suggest htmlentities and html_entity_dec ode.

          Comment

          Working...