Switch to full style
:read: Start PHP with us. Includes topics to help you in php
Post a reply

Get table column flag in php

Sun Oct 26, 2008 8:03 pm

Get table columns flag in php for mysql
Code:
<?php
   mysql_connect
("server","user","password");
   
mysql_select_db("userdb");

   
$query "SELECT id as Employee_ID FROM Employee";
   
$result mysql_query($query);
   
$row mysql_fetch_row($result);
   echo 
mysql_field_flags($result0);

?>




Post a reply
  Related Posts  to : Get table column flag in php
 Draw Flag in Java     -  
 column can't be null     -  
 Get column alias in php     -  
 Join Column by Primary Key     -  
 Create auto numbered column in mysql query     -  
 table creation     -  
 row highlight of table     -  
 table row hover     -  
 Creating table using div tag     -  
 Div Table with css row span     -  

Topic Tags

PHP Database