PDA

View Full Version : Why wont this show up?



-Adam
08-02-2009, 09:38 PM
Basically.. On my game.. Theres a forum frame where you could go to like link ?forum=blah

I want to make a forum

This is the forum frame code.

<?
session_start();
include "includes/db_connect.php";
include_once "includes/functions.php";
logincheck();
$username=$_SESSION['username'];



$forum = $_GET['forum'];

$query = mysql_query("SELECT * FROM `users` WHERE `username` = '{$username}' LIMIT 1")or die(mysql_error());

$arr = mysql_fetch_array($query);

$rank = $arr['rank'];

if ($rank == "Package Boy"){
}elseif ($info->rank == "Package Girl") {
die("<br />
<table width='30%' align='center' class='thinline'>
<tr><td align='center' background='includes/grad.jpg'>
Restricted
</td></tr>
<tr><td align='center'>
<br><img src='includes/nono.gif'></img><br>
You need to be at least the rank of NOOB to access this forum.
</td></tr>
</table>");
}
?>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Forum</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<frameset rows="*" cols="375,*" framespacing="2" frameborder="yes" border="4">
<frame src="left.php?forum=<? print $forum; ?>" name="leftFrame" scrolling="auto" noresize>
<frame src="forum_rules.php" name="frameright">
</frameset>
<noframes><body>
<a href="forum_frame_corker.php">FORUM CP</a>
</body></noframes>
</html>


Right.

So I go to www.gangsterzlife.co.uk/forum_frame.php?forum=hdo as I want a HDO Forum.

But...

When I make a topic on that forum it doesnt show up... But it shows up here

So I go to www.gangsterzlife.co.uk/forum_frame.php

Any ideas?

Calgon
09-02-2009, 09:42 PM
PHP expert I thought you was, re-selling a free PHP coded system.

-Adam
10-02-2009, 08:10 PM
*Removed*

Edited by ,Jess, (Forum Super Moderator): Please do not insult other forum members.

Want to hide these adverts? Register an account for free!