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

mysql_tablename()

Mysql Function: mysql_tablename()
function:  mysql_tablename ( result, row );
return type :  string
content:  ใช้คืนค่า ชื่อของตาราง จาก result ในตำแหน่งแถวที่กำหนด
โดยจะคืนค่า False กลับมาถ้าหากว่าเกิดความผิดพลาด
example:  $conn = mysql_connect ( "localhost", "root", "1234" );
$result = mysql_list_tables ( "dblabcode", $conn );


echo mysql_tablename ( $result, 0 );

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

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