Code: Select all
if ($hello=="")
{
echo "IP doesnt exist";
}
else
{
echo "You were able to ping something, the open ports on this server are displayed below";
$result = mysql_query("SELECT * FROM ports
WHERE ip='$ip'");
while($row = mysql_fetch_array($result))
{
$ports = $row['port'];
}
echo $ports;
}Thank You
~Monotoko