Jump to content

[SOLVED] Best way to wrap a template around a PHP file


ColinHarbut

Recommended Posts

Hi guys,

I have a standed template here:

 

http://calpropertysearch.com/temp.html

 

And I also have a php file that I want to appear in the editable region.  Can I show the php file info without having to use frames?  When I just copy the PHP content and past it into the editable region it doesn't load correctly.

 

I have used <iframe> <iframe> but then I get two scroll boxes. This is what I am trying to fix:  http://calpropertysearch.com/buy.html

 

Thanks again for all your help.

Colin Harbut

http://www.colinharbut.com

 

I can't see my php file.

 

Here is my page:

http://calpropertysearch.com/buy.html

 

Here is my php file:

http://calpropertysearch.com/index1.php

 

 

And my template looks like this:

<tr align="left" valign="top">

    <td height="144" colspan="2"><div align="center"><!-- InstanceBeginEditable name="EditRegion1" -->

    <?php include("http://calpropertysearch.com/index1.php"); ?>

    <!-- InstanceEndEditable --></div></td>

  </tr>

 

But I can't see the php part (and I've tried it without the ("http://calpropertysearch.com/ before the index1.php).  Any suggestions?

Thanks,

Colin Harbut

http://www.colinharbut.com

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.