Hi,
I’m getting the following error message:
Notice: Use of undefined constant cssid - assumed ‘cssid’ in mysite.com/system/core/core.functions.php(637) : eval()‘d code on line 9
The code (template) works like this:
<?php
.....
define("CSSID", $_GET[cssid], true); <-------- LINE CAUSING THE PROBLEM
.....
?>
{EE-HTML}
....
[tags getting data from external DB using PHP above]
[/tags]
....
{/EE-HTML}
<?php
.....
.....
?>
Actually everything works great. The data is extracted from the external DB and my special tags are looping through it and filters on the keyword. The problem is that this error line is showing up at the top of the page.
the URL looks like this:
http://www.mysite.com/index.php/template?cssid=1&csskeyword=keyword
I am running the latest version of EE, build 20080319
Any suggestions on how to make it disappear?
Thanks,
Santo
