Hmm that didn't work.
I don't really like giving out my whole code over the net so I made a bigger snippet so it'll be easier to see whats going on
<?php
// Global Variables ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
$action = $_GET['action']; // Determines what page is being displayed
$filename = 'index.php'; // Current name of file, eg: index.php
$host = "NULL/index.php";
$username_sql = "NULL";
$password_sql = "NULL";
//MySQl Connect
$conn=mysql_connect(localhost,$username_sql,$password_sql)
or die(mysql_error());
@mysql_select_db("NULL",$conn) or die(mysql_error());
<table cellspacing='1' width='780'>
<tr>
$query3="SELECT * FROM `NULL` WHERE forum_cat_id = $cat_id";
$result2=mysql_query($query3,$conn);
while ($row3=@mysql_fetch_array($result2))
{
@extract($row3);
echo"
<td width='50%'>
<a href='$host?action=cat_id=".urlencode("{$cat_id}&")."user_id=$user_id'>
<b>$user_name</b><br /></a>
$user_desc
</td>
}
echo"</table>";
}
}
if($action == 'cat_id=$cat_id&user_id=$user_id') {
$query4="SELECT * FROM `NULL` WHERE NULL_BLAH_id = $user_id";
$result3= mysql_query($query4,$conn);
while ($row4=@mysql_fetch_array($result3))
{
@extract($row4);
if (@mysql_num_rows($row4) < 1) {
//If no topics display this error
$display_block = "<p><i>There are currently no users</i></p>";
}
?>