Welcome to Geeklog, Anonymous Tuesday, July 16 2024 @ 08:22 am EDT

Geeklog Forums

php code in the staticpages


Hey guys, does staticpage supports php code if you want to create new pages, with mysql database connection. I am trying to do that but i get the follwoling error
Parse error: parse error in /var/www/html/etr.blackberry.net/staticpages/index.php(84) : eval()'d code on line 1

I did turn phpexecute options ON, that's I am getting that error when i click on the links. Any idea how to run a page with PHP and MySQl included. or Do i have to create the plugin for this. I really dont want to do this. Any ideas guys??

Thanks in Advacne

Status: offline


Site Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The most likely cause is that you started your PHP code with a <?php tag - but you don't need that.

For more information, please see the documentation.

bye, Dirk

All times are EDT. The time is now 08:22 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content