$page_title
$page_content
include_once( 'includes/pTemplate.php' ); // PHP to process things of Index page here $page_title = 'Demo: assign_vars, append array'; $page_content = 'Welcome to Demo: assign_vars, append array of existing variables: '; $pTemplate->assign_vars(array( 'PAGE_TITLE' => $page_title, 'PAGE_CONTENT' => $page_content ), true ); $pTemplate->add_file( 'templates/assign_vars_append.html' ); $output = $pTemplate->pparse_file( 'templates/assign_vars_append.html' ); echo $output; exit;