วันอังคารที่ 9 ธันวาคม พ.ศ. 2557

mysql_list_fields()

Mysql Function: mysql_list_fields()
function:  mysql_list_fields ( db_name, tb_name, resource );
return type:  result
content:  ใช้คืนค่า result ที่เก็บชื่อฟิลด์ทั้งหมด ของตารางที่กำหนด ในฐานข้อมูลที่กำหนด
example:  $conn = mysql_connect ( "localhost", "root", "1234" );

$result = mysql_list_fields ( "dblabcode", "employee", $conn );

ไม่มีความคิดเห็น:

แสดงความคิดเห็น