Calling php from mysql

hey everybordy

i’m having a problem calling a php file from the ddbb

case:

i have a news system and want to add comments to each news i have… ddbb records every news and i have this **.php file i generate for every single news…

im trying to call that file into a php file as part of the news page… the thing is i’m having error over an over…

here’s my code… maybe you can help… or maybe tell me a better way to do it

code

<?php
require_once(‘config_news.php’);
$sql = ‘SELECT * FROM single_news WHERE ID = ‘.mysql_real_escape_string($_GET[‘id’]);
$query = mysql_query($sql) or die(mysql_error());
$row = mysql_fetch_assoc($query);
?>
<? define(‘IN_SCRIPT’, ‘true’); $script_root = ‘./’; include($script_root . $row’[php_file]’); ?>