<?php //all the template stuff for vbulletin, it is required //put ob_start(); around your custom code only ob_start(); echo 'blah blah blah' print ' test' $name= 'test' $name2 = 'test1' echo $name . $name2 echo 'more php stuff $randomname = ob_get_contents(); ob_end_clean() ?>
$randomname