added a php code snippet to my template now i get a smarty error?!?!?!?!
Posted: Fri Dec 16, 2005 7:39 pm
Fatal error: Smarty error: [in db:Charts line 96]: syntax error: unrecognized tag 'echo' (Smarty_Compiler.class.php, line 580) in /home/cary/public_html/cms/lib/smarty/Smarty.class.php on line 1088
this is the error i get when i added the following code to my page template. It is used to pull sports data onto my site from a 3rd party. i just entered the code in the spot where the data is to be shown, and it gives me this error. ANY IDEAS??????
";
echo "$data";
} else {
echo "System Configuration error.";
}
?>
you can view the page with source, etc. here
http://www.thewinningadvantage.com/cms/ ... age=Charts
I can cut and paste my way around and through php, but as far as coding goes, im clueless. Can anyone help me figure this out?
I should be able to paste php into the template right?
this is the error i get when i added the following code to my page template. It is used to pull sports data onto my site from a 3rd party. i just entered the code in the spot where the data is to be shown, and it gives me this error. ANY IDEAS??????
";
echo "$data";
} else {
echo "System Configuration error.";
}
?>
you can view the page with source, etc. here
http://www.thewinningadvantage.com/cms/ ... age=Charts
I can cut and paste my way around and through php, but as far as coding goes, im clueless. Can anyone help me figure this out?
I should be able to paste php into the template right?