hi there can someone please help me with this please i have put a drop down box to the pages i want to go to but when i click
go to page it just refresh's the page and dont take me to where i want it to go
thanks to everyone that helps me with this
go to page it just refresh's the page and dont take me to where i want it to go
Code:
<?php define('WCS',true); include('../core/main.inc'); header_type(); cleardata(); if(ipbanned(ip(),browser())){ if(!shield(getuid_sid($sid))){ echo head_tag("Ip Blocked!!!",0,0); echo ipbanned_msg(); echo foot_tag(); exit(); } } if(!islogged($sid)){ echo head_tag("Error!!!",0,0); echo session_expired(); echo foot_tag(); exit(); } if(banned(getuid_sid($sid))){ echo head_tag("Error!!!",1,getnick_sid($sid)); echo banned_msg($sid); echo foot_tag(); exit(); } mysql_query("UPDATE users SET browser='".browser()."', ipaddress='".ip()."', host='".subno()."' WHERE id='".getuid_sid($sid)."'"); /////////////////////////FIND FRIENDS///////////////////////// addonline(getuid_sid($sid),"Games",""); echo head_tag(getnick_sid($sid)."@Games",1,getnick_sid($sid)); $title="<b><i>Games</i></b>"; $main="<div class=".align()."> <form method=\"get\"> <select> <option value=\"./main.php?sid=$sid\">main page</option> <option value=\"./forums/forums.php?sid=$sid\">forums</option> <option value=\"./inbox/inbox.php?sid=$sid\">inbox</option> </select><br/> <input type=\"submit\" value=\"go to page\"/> <input type=\"hidden\" name=\"sid\" value=\"$_GET[sid]\"/> </form> </div>\n"; $L1="$sixkey<a $key6 href=\"./inbox/inbox.php?sid=$sid\">Inbox</a>"; $L2="$sevenkey<a $key7 href=\"./buds/buds.php?sid=$sid\">BuddyList</a>"; $L3="$eightkey<a $key8 href=\"./chat/public.php?sid=$sid\">Chat</a>"; $L4="$ninekey<a $key9 href=\"./forums/forums.php?sid=$sid\">Forums</a>"; $L5="$zerokey<a $key0 href=\"./main.php?sid=$sid\"><img src=\"./images/home.gif\" alt=\"\"/>Main Menu</a>"; echo xhtml($sid,$title,1,$L1,$L2,$L3,$L4,$L5,0,0,0,$main); echo foot_tag(); ?>
thanks to everyone that helps me with this
Comment