hi there Im sorry if this is probably too simple of a question..but Im new with this php.
Im trying to make a little sample template work for now and here I got two files. one is called test.php and contains:
<?
include('/usr/local/lib/php')
include('../home/rooein/www/temp/template.php')
?>
<html>
<body>
My name is <?echo $NAME?> and I am a <?echo $JOB?>
</body>
</html>
the second file is called template.php and contains:
<?
include('/usr/local/lib/php');
$NAME -> "Rooin";
$JOB -> "lifeguard";
?>
Im hoping to get this to display on the first page
"My name is Rooin and I am a lifeguard"
using my template..what am I doing wrong?
thanks
Ryan