Announcement

Collapse
No announcement yet.

Including HTML Page In Sidebar Tables

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Including HTML Page In Sidebar Tables

    Hi all-

    I found a great tip for including left and right columns here: http://www.vbulletin.com/forum/showt...ght=LEFT+TABLE

    Can anyone clue me in as to the code I might use to plug in a column so as to capture the contents of an HTML page?

    Thanks-
    crs

  • #2
    You can capture the output of a file by adding this code to your phpinclude_start template:

    Code:
    ob_start();
    require("[color=red]path/filename.extension[/color]");
    $file_output = ob_get_contents();
    ob_end_clean();
    Change the red code appropriately.

    Now you can use $file_output in your templates and it will parse to the HTML code of filename.extension.

    That should work.

    Comment


    • #3
      Thanks Jake - I'll give it a shot.........

      Comment


      • #4
        make sure you use the last post.... as I had a heck of a time getting it to show correctly in 800x600

        Comment

        Related Topics

        Collapse

        Working...
        X