include php in html DIV

How can I have the following .php file load into my HTML DIV?

header (“Location: sms_success.php”);

You can test/see what I am referring to here:
http://www.prescriptionpc.com/TEST_newpage.html#section=sms

Thanks for whoever can help! :slight_smile:
-Bruce

Hi Bruce,

You want to display the sms_success.php into the page (like an iframe or embed) right? If so, to do this:

[php]<?php include($_SERVER["DOCUMENT_ROOT"]."sms_success.php"); ?>[/php]

Please note that the path in this is relative to the web root directory.

Sponsor our Newsletter | Privacy Policy | Terms of Service