I'm having some problems echoing/printing an html/php header I entered into mysql.
The html part works fine, but when part of the code calls a php variable, I can't get it to work right.
Here is what I've tried:
<?php echo"$myrow[title]" ?>
This shows up something like this:
http://www.fuziontek.com/<?php
It's supposed to show up like this:
http://fuziontek.com/ftek6/link.php
I also tried this:
$myrow[title]
But this shows up like this:
http://www.fuziontek.com/$myrow[title]
I've tried with quotations, and without, I've tried with a php echo statement, and without...nothing seems to work.
Basically, I'm calling a file called header.php as the header in my files, and header.php calls on a mysql table entry that has the html/php stored in it. I wouldn't think you would need to put in php tags, because the header.php file is all php, and doesn't tag out before the include...But, it's not showing up correctly...
I dunno what the deal is...ugh....