I keep getting this error:
Warning: include() [function.include]: Filename cannot be empty in /home/danielleschechter/danielleschechter.com/index.php on line 225
Warning: include() [function.include]: Failed opening ” for inclusion (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/danielleschechter/danielleschechter.com/index.php on line 225
I’m currently trying to use php and includes to bring my files to the page.
<div id=”container”>
<?php
if ($_GET) {
$f = urlencode($_GET[‘f’]);
$q = urlencode($_GET[‘q’]);
$content = $f . “/” . $q . “.php”;
include($container);
} else {
include(‘welcome.php’);
}
?>
</div>
thats my code till now..any solutions? :S