------------------------------------------------------------------------ |<?php $tpl = file <http://php.net/file>("tpl/head.tpl"); $code = str_replace <http://php.net/str_replace>("{sitename}",$config['sitename'],$tpl); foreach ($code as $codeline) { print <http://php.net/print>($codeline); } ?>| ------------------------------------------------------------------------
This simply results in a mess, with only the pictures showing up on my page... I know this code is horrible but I have no idea how to go about doing this. I've never worked with reading files and whatnot before
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php