'; exit; } if (strpos(strtolower($dbuser),"fail") !== false){ echo ''; exit; } if (strpos(strtolower($dbpass),"fail") !== false){ echo ''; exit; } if (strpos(strtolower($dbname),"fail") !== false){ echo ''; exit; } if (strpos(strtolower($dbtable),"fail") !== false){ echo ''; exit; } $dbconnection = connect_to_database($dbserv,$dbuser,$dbpass,$dbname); if (strpos(strtolower($dbconnection),"fail") !== false){ $results = strtolower($dbconnection); return $results; exit; } $query = mysql_query("SELECT * FROM " . $dbtable . " WHERE dateresolved like '" . $nonresolved . "' AND moderator='" . $_SESSION['username'] . "'" ); if (!query){ $results = "failed, " . mysql_error(); return $results; exit; } while ($row = mysql_fetch_array($query)){ $complaintcount = $complaintcount + 1; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; } echo ''; mysql_close($dbconnection); ?>
Complaint Management Menu Logout
ID From About Description Moderator
Failed to connect to database server, database server name can not be blank.
Failed to connect to database server, database user name can not be blank.
Failed to connect to database server, database password can not be blank.
Failed to connect to database server, database name can not be blank.
Failed to connect to database server, database tablename can not be blank.
' . $row['id'] . '' . $row['userfrom'] . '' . $row['userabout'] . '' . $row['briefdescription'] . '' . $row['moderator'] . '
' . $complaintcount . ' Total unresolved claimed issues