Creo que el problema lo tienes con las comillas al imprimir. Utiliza
printf:
Código PHP:
<html>
<head>
<title>Results</title>
</head>
<body>
<?php
include("connect.php");
$conn=conectar();
$query="SELECT * FROM personas";
$result=mysql_query($query);
echo "<table border='1'>";
while($row=mysql_fetch_array($result)){
printf("<tr><td>%s</td>", $row["nombre"]);
printf("<td>%s</td>", $row["direccion"]);
printf("<td>%s</td>", $row["email"]);
}
echo "</table>";
?>
</body>
</html>
Prueba y nos comentas...
Saludos