Welcome to WebmasterWorld Guest from 18.104.22.168
$output = ob_get_contents();
$content = "This is content";
$related = "Related to nothing";
This has been working well for me, but the problems are:
1) I have a huge structure inside of one of the $content variables, and while it's in comment form, I cannot preview it in dreamweaver.
2) I cannot use php functions within the variable (or at least have had no luck doing so)
So, what are the alternatives?
I don't want to have to learn a whole new templating system like smarty, I just want to be able to include content into index.php based on what is in the included page.
joined:Oct 31, 2006
I have both meta descriptions and keywords in the file as well as the content.
[edited by: FuzzyLogik at 4:28 pm (utc) on Jan. 3, 2007]
the only way I can see to possibly do it would be to change your echo's to includes, then you could have php functions etc in your files. I imagine this would cause a rather large redesign though.