the_oliver Posted February 4, 2007 Share Posted February 4, 2007 Hello. I have a page which calls part of its contents from a database. This is normaly fine, however every now and again i need a bit of php code to be included in the contents pulled from the database. The only trouble is that because the php has already been procesed by the time it does the database queiry, it simply shows the code as clear txt. Is there a way round this? Thanks Link to comment https://forums.phpfreaks.com/topic/37079-solved-php-code-from-a-database-not-run/ Share on other sites More sharing options...
fert Posted February 4, 2007 Share Posted February 4, 2007 http://us2.php.net/manual/en/function.eval.php Link to comment https://forums.phpfreaks.com/topic/37079-solved-php-code-from-a-database-not-run/#findComment-177094 Share on other sites More sharing options...
the_oliver Posted February 4, 2007 Author Share Posted February 4, 2007 Been looking for that for week! Thanks. Link to comment https://forums.phpfreaks.com/topic/37079-solved-php-code-from-a-database-not-run/#findComment-177109 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.