Hi all,
I'm wondering if anyone can tell me if there is a function for the following?
I have a php page that displays HTML code stored in a mysql db.
The problem i have is when i add any php code to this HTML code and insert it into the db then query the db and display the results i get the actual php code....the code is not hidden, it actaull displays it as...for example:
<? $named = "http://localhost" ?>
<tr>
<td height="25" width="50%"><div align="left"><a href="http://www.swiftflix.com.au"><img src="<? echo $named ?>/cart_uploads/images/swiftflix_logo.gif" alt="SWIFTFLIX - Australia's Premiere Online DVD Shop" width="130" height="25" border="0"></a></div></td>
The above is a snippet of the code if you look at the source in IE.
Any idea how to get the php code within the HTML as php and not just text?
Cheers,
macca