seany123 Posted November 16, 2009 Share Posted November 16, 2009 how do i get around code when its like this? <html> <head> <title>MafiaKillerz</title> <link rel="stylesheet" href="css/style.css" type="text/css" media="all" /> </head> <body alink="#cc9900" vlink="#cc9900" link="#cc9900"> </div> </div> <tr> <div id="left_c"><div class="g_content" style="width: 613; height: 90"><h3> Fight House</h3><div class="g_text"> <?php switch($_GET['act']) { case "attack": if (!$_GET['username']) //No username entered { header("Location: battle.php"); break; } Link to comment https://forums.phpfreaks.com/topic/181763-having-html-code-before-php-headers/ Share on other sites More sharing options...
premiso Posted November 16, 2009 Share Posted November 16, 2009 Put the html after the php code? Link to comment https://forums.phpfreaks.com/topic/181763-having-html-code-before-php-headers/#findComment-958621 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.