| mysql_db_name() | ใช้คืนค่า ชื่อของฐานข้อมูล จาก result |
|---|
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 );