
loccom
User
Jan 7, 2012, 9:19 AM
Post #1 of 3
(283 views)
Shortcut
|
|
Echo statement in an include
|
Can't Post
|
|
I am pretty newish to php, basics i don;t have a problem with, but i seem to be stuck on something thats probably really easy. I am looking to echo a word from CMSB into an include. ie <? include("blah.inc.php"); ?> The file name "blah" i wish to echo an entry from the database but I am unable to echo this into the include. Below will obviosuly wont work, but how can i make an entry automatically enter the right word in to my include? <? include("<?php echo $blahRecord['blah_word'].inc.php?>"); ?>
|