Get field length : Table MetaData : MySQL Database PHP Source Code


PHP Source Code » MySQL Database » Table MetaData »

 

Get field length




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

   $query = "SELECT FirstName FROM Employee ";
   $result = mysql_query($query);
   $row = mysql_fetch_row($result);
   echo mysql_field_len($result, 0);

?>

           
       



HTML code for linking to this page:

Follow Navioo On Twitter

PHP Source Code

 Navioo MySQL Database
» Table MetaData