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

mysql_db_name()

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

echo mysql_db_name ( $result, 0 );

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

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