require_once('connect.php');
$sql = "select * from introduce";
$query = mysql_query($sql);
if($query&&mysql_num_rows($query)){
$row = mysql_fetch_row($query);
$contact = $row[1];
}
改为
include_once('connect.php');
$sql = "select * from introduce";
$query = mysqli_query($con,$sql);
if($query&&mysqli_num_rows($query)){
$row = mysqli_fetch_row($query);
$contact = $row[1];
}