Fairly new to PHP and I am not sure if this is possible but let's see who's paying attention out there...
Okay, I have a database and it contains one column containing HTML code with a call to a PHP function within the query result. Now here is the resulting web page source code generated by my inital PHP page:
<head>
<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
<title>Welcome to Adobe GoLive 5</title>
</head>
<body bgcolor="#ffffff">
<?
phpinfo();
?>
</body>
Obviously, the mighty phpinfo() function is being written into the HTML source and not being parsed by PHP.
Now I know PHP is parsing the code once to perform the inital database hookup and query but what I want to know is if PHP is able to reparse the database info once its been pulled from the database so it will execute the embedded PHP function. AND can this be done from within the same PHP document?
Thanks ahead of time all you really really smart peoples....
Aarron