0
Array
(
[0] => Array
(
[0] => 1
[id] => 1
[1] => 1
[candi_id] => 1
[2] =>
[title] =>
[3] => Lakshmanan
[firstname] => Lakshmanan
[4] => P
[lastname] => P
[5] => Male
[gender] => Male
[6] => Tamil
[mothertongue] => Tamil
[7] => 31-01-1990
[dob] => 31-01-1990
[8] => Hindu
[religion] => Hindu
[9] => O+
[bloodgroup] => O+
[10] => Single
[marital_status] => Single
[11] => Mettupalayam
[native] => Mettupalayam
[12] => Indian
[nationality] => Indian
[13] => Active
[status] => Active
[14] => 2016-11-04
[cdate] => 2016-11-04
)
)
我想只獲得列值。但爲什麼我得到數組索引的值?爲什麼數組返回值與數組索引值?
您是否從mysql數據庫獲取數據與mysql函數? –
是的先生我用mysql取數組() – user5697399
使用此mysql_fetch_array($結果,MYSQL_ASSOC) –