$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>";

echo "</table";
   }

   $mysql_link=mysql_close($mysql_link);

Un saludo, Danny



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

Reply via email to