<?php require("http://php.wilson.gs"); // 回首頁 echo "http://php.wilson.gs/bible/function.php : 函式:mysql_fetch_row()"; |
函式:mysql_fetch_row() |
mysql_fetch_row傳回單列的各欄位。 語法: array mysql_fetch_row(int result); 傳回值: 陣列 函式種類: 資料庫功能
本函式用來將查詢結果 result 之單列拆到陣列變數中。陣列的索引是數字索引,第一個的索引值是 0。若 result 沒有資料,則傳回 false 值。
mysql_fetch_array() mysql_fetch_object() mysql_data_seek() mysql_fetch_lengths() mysql_result()
|
![]() mail("wilson@biglobe.net.tw", "Feedback", $message); ?> |