Hello Everyone,
I have a strange problem.
I am getting a variable $pageContent from another web company. The pageContent contains html, head and body tags as well as a form and a javascript to submit the form.
I am trying to put all this code from this variable on my page. However, when I put:
print"$pageContent";
It prints all the code (tags, javascript and all) rather than actually using the tags to create the form and execute the javascript. Does anyone have any idea why this might happen?
Since the code prints out on my web page, I just copied it, and then tried putting that directly into my page and it works! However, as soon as I keep in the variable and print the variable it does not work. What would cause this?
Thank you for your time. Any help is greatly appreciated.
Best Regards,
Lena
OOhh... I was just told that they are passing the pageContent in a query post, not a form post. What is a query post, and how does that affect php?