php数组

1. 创建数组并输出

 

$valueArray = array();
$valueArray["userName"] = "wang";
$valueArray["password"] = "123456";
       
echo "<br>";
print_r($valueArray["userName"]."<br>");
print_r($valueArray["password"]);


 

你可能感兴趣的:(PHP)