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

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.