How to fetch php tag embeded code from database?
Posted: Mon Nov 09, 2009 11:59 pm
Hi i want to fetch a data from database ,I fetched it successfully but it is not working.
The database data is "<? include('contactUs.php');?>"
I fetched it through sql query but page is not including
After fetching i saved it in variable $abc
then i wrote <? echo $abc;?>
In $abc value coming from database is =<? include('contactUs.php');?>
contactUs.php is a separate page that i want to include but it just print <? include('contactUs.php')?> in view source.
Help me please. Thank you in advance
The database data is "<? include('contactUs.php');?>"
I fetched it through sql query but page is not including
After fetching i saved it in variable $abc
then i wrote <? echo $abc;?>
In $abc value coming from database is =<? include('contactUs.php');?>
contactUs.php is a separate page that i want to include but it just print <? include('contactUs.php')?> in view source.
Help me please. Thank you in advance