Mysql
Function: mysql_fieldseek()
function: mysql_fieldseek ( result, column );
return
type: boolean
content: ใช้เลื่อน pointer ไปยังคอลัมน์ที่กำหนดใน result โดยจะคืนค่า false
ถ้าเกิดความผิดพลาดขึ้น
example: $conn = mysql_connect (
"localhost", "root", "1234" );
$result
= mysql_list_fields ( "dblabcode", "employee", $conn );
while
( $column = mysql_fetch_field ( $result ) )
{
echo $column->name . " " .
$column->type . "<br/>";
}
mysql_fieldseek
( $result, 0 );
ไม่มีความคิดเห็น:
แสดงความคิดเห็น