下面的方式不能成功改变数组元素的值或键:注意
create by zhang on time 2013-7-9 上午10:51:20 */
$a[2]='music'; $a[5]='movie'; $a[1]='computer'; $a[]='software';
foreach ($a as $key=>$value){ $value=\.$value; }
print_r($a);//Array ( [2] => music [5] => movie [1] => computer [6] => software ) echo \; ?>
PHP数据采集:
使用表单实现get和post混合提交模式.