PHP Source Code »

 

Get returned row count




<?php
   mysql_connect("mysql153.secureserver.net","navioo","password");
   mysql_select_db("navioo");

   $query = "SELECT * FROM Employee";
   $result = mysql_query($query);
   echo "There are ".mysql_num_rows($result)." Employee(s).";

?>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo