|
|
|
รบกวนพี่่่ๆช่วยดู code ให้ผมด้วยครับ array_count_values |
|
|
|
|
|
|
|
ประมาณนี้ครับ
Code (PHP)
<?php
$vars = array(
'1' => 1,
'2' => 2,
'5' => 4,
'8' => 6,
'9' => 4,
'6' => 3
);
foreach($vars as $key => $value)
{
echo $key .' '. $value.'<br />';
}
?>
|
|
|
|
|
Date :
2010-10-06 11:12:32 |
By :
Chavalit117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ขอบคุณครับๆ^^
|
|
|
|
|
Date :
2010-10-06 19:10:59 |
By :
tlecreate |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 01
|