ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] °}¦Cªº¹ïÀ³­È

[µo°Ý] °}¦Cªº¹ïÀ³­È

¦U¦ì¤j¤j±z­Ì¦n~
§Ú·Q§ä¥X$array³Ì¤p­È©Ò¹ïÀ³ªº$qty
¦³¨â°}¦C
$array = array("50","30","60");
$qty = array("1","3","5");

50¤¸ªº¼Æ¶q¬°1  
30¤¸ªº¼Æ¶q¬°3
60¤¸ªº¼Æ¶q¬°5

±N$array±Æ§Ç  §ä¥X³Ì¤p­È =  30
µM«á¦A§ä¥X³o­Ó³Ì¤p­È30 ªº¼Æ¶q¬O¦h¤Ö

³o¼Ëªº¸Ü¡AÀ³¸Ó­n«ç»ò°µ??
ÁÂÁÂ

        ÀR«ä¦Û¦b : ¡i¥Í©R¦b©I§l¶¡¡j¦òªû»¡¡G¡u¥Í©R¦b©I§l¶¡¡C¡v¤HµLªkºÞ¦í¦Û¤vªº¥Í©R¡A§óµLªk¾×¦í¦º´Á¡AÅý¦Û¤v¥Ã¦í¤H¶¡¡C¬JµM¥Í©R¥h¨Ó³o»òµL±`¡A§Ú­Ì§óÀ³¸Ó¦n¦n¦a·R±¤¥¦¡B§Q¥Î¥¦¡B¥R¹ê¥¦¡AÅý³oµL±`¡BÄ_¶Qªº¥Í©R¡A´²µo¥¦¯uµ½¬üªº¥ú½÷¡A¬M·Ó¥X¥Í©R¯u¥¿ªº»ù­È¡C
ªð¦^¦Cªí ¤W¤@¥DÃD