Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 10:40 pm EST
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
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
9
5
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
For more information, please see the documentation.
bye, Dirk
8
8
Quote
All times are EST. The time is now 10:40 pm.
- 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