Execute PHP stored in MySQL Database?

Hi Guys,

I have a webpage which has subsequent pages stored in a database e.g. index.php?id=1

The problem being, is that id=1 has it’s data pulled from a database. This was fine & dandy until I started to insert PHP…I am trying to get the below to executre

[php]<?php
$rater_id=1;
$rater_item_name=‘Rate This’;
include(“rater.php”);
?>[/php]

However nothing shows & nothing happens, I know eval can be used but have not been succesfull in implementing this, can someone please help!

Sponsor our Newsletter | Privacy Policy | Terms of Service