'; 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 not like '" . $nonresolved . "'" ); 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 datbase, database server name can not be blank
Failed to connect to datbase, database user name can not be blank
Failed to connect to datbase, database password can not be blank
Failed to connect to datbase, database name can not be blank
Failed to connect to datbase, database table name can not be blank
' . $row['id'] . '' . $row['userfrom'] . '' . $row['userabout'] . '' . $row['briefdescription'] . '' . $row['moderator'] . '
' . $complaintcount . ' Total unresolved issues