Posted on Friday 18th April 2008 at 04:39 PM | |
Stupidkid Newbie |
So im having troubles getting this to work with the user system properly. I did make the user system way back, Before it was on TT. But I havent done any coding since. Heres my PHP Nav script. Code <?php $page = Array(); $page['home'] = "main"; $page['error'] = "404"; $page['format'] = ".php"; $page['trig'] = "go"; if (empty($_GET[($page['trig'])])) $pg = $page['home'].$page['format']; elseif (!ctype_alpha($_GET[($page['trig'])])||!file_exists($_GET[($page['trig'])].$page['format'])) $pg = $page['error'].$page['format']; else $pg = $_GET[($page['trig'])].$page['format']; include($pg); ?> Now heres my problem. I have the login box included in my right nav. and when i log in, or logout or do anything, I loads twice. Once in the right nav. and then in the main content box. Any Help? |
Posted on Saturday 19th April 2008 at 02:34 AM | |
Stupidkid Newbie |
This can be closed. I figured it out. |