Having a problem with page.module it seems.

I am fully able to create and save pages using the add content process, however, whenever I attempt to recall this data (even if I try to use 'preview post') it gives me this:

Parse error: parse error in /usr/home/web/users/a0022934/html/matt/modules/page.module(138) : eval()'d code on line 1

the only thing, as you know, on line 1 is the open tag for the php.

any idea whats wrong?

i can be reached at sh0velman@comcast.net

Comments

jhriggs’s picture

You don't need an opening PHP tag when creating a PHP page. The input is already evaluated as PHP. You only need to use PHP tags if you need to exit PHP and do straight HTML. For example:

echo "Here is some PHP output.<br />";
?>
Here is some HTML output.<br />
<?php
echo "More PHP.<br />"