$page_title
$page_content
include_once( 'includes/pTemplate.php' ); // PHP to process things of Index page here $page_title = 'Demo: assign_var, assign single data string'; $page_content = 'Welcome to Demo: assign_var, assign single data string'; $pTemplate->assign_var('PAGE_TITLE', $page_title); $pTemplate->assign_var('PAGE_CONTENT', $page_content); $pTemplate->add_file( 'templates/assign_var.html' ); $output = $pTemplate->pparse_file( 'templates/assign_var.html' ); echo $output; exit;