Hi Guys
I am receiving notice errors, probably due to errors in my code when I upload to netregistry’s servers which have a shared php.ini.
I figure I could just do an ini set to get php to ignore notices but i’d actually like to know what I may of done wrong instead
Error msgs
Notice: Undefined index: section in /clientdata/clients/t/h/thepropertyschool.com.au/www/includes/nav.php on line 16
Notice: Undefined index: newsletter in /clientdata/clients/t/h/thepropertyschool.com.au/www/includes/rightnav.php on line 12
Lines of code
rightnav.php lines 10-16
<?php if ($_GET[‘newsletter’]==”open”)
echo “<div id=”newsletter” style=”display:block”>”;
else if ($
echo “<div id=”newsletter” style=”display:none”>”;
else
echo “<div id=”newsletter” style=”display:none”>”;
?>
nav.php line 16
<li id=”courses”><a <?php if ($_GET[‘section’]==”1″) echo ” id=”currentpage”” ?> class=”header” href=”/ps/courses.php?section=1″>Our Courses</a>
url
[url]http://thth8366.staging-zeus.netregistry.net/index.php
Cheers,
Andrew