Welcome to Geeklog, Anonymous Thursday, April 18 2024 @ 08:31 am EDT

Geeklog Forums

php code in the staticpages


suresheva31

Anonymous
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
 Quote

Status: offline

Dirk

Site Admin
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
 Quote

All times are EDT. The time is now 08:31 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