PDA

View Full Version : Eval error


Serge
06-07-2003, 01:00 AM
Sorry for posting all of these threads :nervous: . I'm getting these two errors:

Parse error: parse error in /www/worldlinks/members/patrickmcdaniel/index.php(23) : eval()'d code on line 3

Parse error: parse error in /www/worldlinks/members/patrickmcdaniel/index.php(42) : eval()'d code on line 3

The frist parse error was when trying to eval my news_header template which looks like this:


<center>
<table bgcolor="#DFDFDF" width=95%>
<tr>
<td>The News


And the second one when calling my main_footer template which looks like this:


<br>
<br>
<div align="center" class="copy">
<p>All Content and Design &copy 2003 <a class="copy" href="mailto:patrickmcdaniel@iglou.com">Patrick McDaniel</a></p>
</div>
</td>
</tr>
</table>
</body>
</html>


My eval() look this this:


eval("\$newheader = \"".gettemplate('news_header')."\";");

eval("\$footer = \"".gettemplate('main_footer')."\";");


Anyone know what is going on? Also when I looked at this there is some wired about a vbulletin smilie you might have to click quote to see the actually think I ment to put but you probably could get the generel gist.

Serge
06-07-2003, 07:18 PM
Bump Does anyone have any ideas one why this won't work?