Hi,
I am retrieving the following string from the database field CatDescriptionEng and trying to evaluate it as PHP code
<?include("/home/virtual/wibcs.com/var/www
/cgi-bin/php_files/show_job_offer.php");?>
but it is not working i.e. I see nothing on my WEB page
<?
if (!isset($db)){
$db=connectDb();
}
$qryCatDescr="SELECT noCatPar, CatNameEng, CatDescriptionEng FROM Categories1 WHERE NoCat=39";
$resQryCatDescr = mysql_query ($qryCatDescr, $db);
/ annulation of warning 1-st time login in site../
$nbRowsResult=@mysql_num_rows($resQryCatDescr);
if ($nbRowsResult > 0)
$catDescr = $myrowResQryCatDescr[2];
ob_start();
eval('?>'. $catDescr);
$catDescr = ob_get_contents();
ob_end_clean();
}
}
?>
Any help will be much appreciated.
'Thnk you in advance.
Alex
alexander_reichman@hotmail.com