Hi everyone, I am having an issue display a page in an Iframe. I have a form that I need to submit, and the result needs to appear in an iframe on a thank you page within my website. The reason the result has to be in an Iframe is because the result is sent to an external website, and I need to display the output. If I let the page direct to the page without an iframe, it will be a new window with only a few lines of text and a few images. I have managed to extract the form URL string that I would like to send to the iframe, the problem is I dont know how to send the string. I am guessing I need to send the code the to iframe src=??? but not sure how to do this. My URL string looks something like this: "$submiturl?url=$sUrl&fn=$sFirstName&ln=$sLastName&add=$sAddress&city=$sCity&state=$sState&zip=$sZipCode"; Now how do I write this URL string to the iframe? Any ideas would be appreciated! Thanks
when u src, try passing the vars to iframe like this <iframe src="youriframe.php?url=$sUrl&fn=$sFirstName&ln=$sLastName&add=$sAddress&city=$sCity&state=$sState&zip=$sZipCode">
Hi There Thanks for the replies! I managed to figure it out. I put the string into a variable i.e. $URLstring like rene7705 said. Then in the iframe I passed the variable like this: <iframe src="<?php print $URLstring ?>" </iframe> Thanks