[EMAIL PROTECTED] wrote:
> $mysql_link = mysql_connect("localhost", USER, PASS);
>
>   mysql_select_db(DB, $mysql_link);
>
>    $SQL = "SELECT * FROM tbl";
>
>    $result = mysql_query($SQL, $mysql_link) or die (mysql_error());
>
>    echo "<table border="1" cellpadding="5">";
>
>    while($resultat = @mysql_fetch_array($result)) {
>
>        echo "<tr><td>
>
>       $resultat[ip]
>
> </td>";

here is '</tr>' missing:
</td></tr>";


> echo "</table";
>    }

the echo '</table>'; should come after the closed while:
}
echo '</table>';

>    $mysql_link=mysql_close($mysql_link);
>
> Un saludo, Danny

ciao SVEN



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to