Results 1 to 2 of 2
  1. #1
    Join Date
    January 17th, 2005
    I am helping a site out with getting the script installed and functioning. Their site has a common layout that consists of a header, two sections on the sides that consist of multiple link sections, and a middle section that holds the main content for the page.

    Their site is heavily PHP. Most of their content runs off of PHP with a mySQL database backend. What they would like to do is embed the script results in that middle section.

    I figured out the script tag to be able to present results in a page -- is there anyway to embed the normal in the site outline and leave all of the PHP active? Could I make a specialized template, with a PHP extension, point the script at it, and have that work?

    Let me know if I didn't provide enough this part time, good enough to muddle my way through most things, but not an expert.

  2. #2
    ABW Ambassador cusimano's Avatar
    Join Date
    January 18th, 2005
    Toronto, Canada
    To include output in a PHP page, you would use the PHP equivalent of an SSI include statement:


    The ssi parameter is required to tell that the results are being included in something.

    See also: PHP virtual() function documentation.

    Yours truly,
    Cusimano.Com Corporation
    per: David Cusimano

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Replies: 26
    Last Post: July 26th, 2011, 09:50 AM
  2. PHP question - include(file.php) with variables
    By teezone in forum Programming / Datafeeds / Tools
    Replies: 8
    Last Post: September 4th, 2009, 03:54 PM
  3. Replies: 1
    Last Post: September 11th, 2008, 12:58 PM
  4. - php script to upload feed??
    By mhart in forum Midnight Cafe'
    Replies: 4
    Last Post: October 16th, 2007, 02:59 PM
  5. Replies: 2
    Last Post: May 25th, 2004, 07:57 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts