|
|
|
loop key value แล้ว foreach ใช้ไม่ได้น่ะครับช่วยด้วยครับ |
|
|
|
|
|
|
|
Code (PHP)
<?PHP
$gg = array(
array("id"=>"1", "name"=>"dd"),
array("id"=>"2", "name"=>"cc"),
array("id"=>"3", "name"=>"gg")
);
echo '<pre>';
print_r($gg);
foreach( $gg as $key=>$row){
echo '<pre>';
print_r($row);
echo $row['id']."<br>";
echo $row['name']."<br>";
}
?>
|
|
|
|
|
Date :
2018-01-28 16:39:28 |
By :
arm8957 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 00
|