php关联数组与索引数组及其显示方法
数据
username password test 123456
关联数组:
mysql_fetch_assoc() array([username]=>'test',[password]=>'123456')
索引数组:
mysql_fetch_array() array([0]=>'test',[1]=>'123456')
var_export()
array ( 0 => 1, 1 => 'a', 2 => 'hello', )
var_dump()
array(3) { [0]=> int(1) [1]=> string(1) "a" [2]=> string(5) "hello" }
相关推荐
微麦PHP 2019-06-28
bcbeer 2014-02-09
likun00 2019-04-16
PETERSHEN 2017-03-15
半粒红豆 2010-12-15
rootmiss 2009-11-17
txlCandy 2019-04-25
Pythonandme 2015-05-04
weixuejunphp 2017-10-18
phpsir 2017-04-04
付海军 2019-04-16
明天你好 2012-05-24
雷潇 2010-05-19
thickbookszone 2019-02-18
FaithX 2010-07-19
xuekai0 2010-07-19
愤怒的小狐狸 2010-07-16
USTBHacker 2010-07-16