Announcement

Collapse
No announcement yet.

Please explain phpinclude template.

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

  • #16
    Originally posted by robertusss:
    PHP Code:
    ob_start(); 
    require(
    "/url/to/bannerbar.php"); 
    There is your error the require command in PHP is the same thing as include. Thats why in all of VB files they have
    PHP Code:
    require("/admin/functions.php"); 
    and it includes all variables and functions in it. its just like adding it to that page, but can be referanced many times.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X