Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

php---ǧ·Öλ·Ö¸ô·û£¿ - PHP / ¿ªÔ´×ÊÔ´

phpÖÐÈçºÎÊä³öǧ·Öλ·Ö¸ô·û¡£¡£¡£¡£¡£

number_format

PHP code:

//ÊÇÕâÖÖЧ¹û°É£¿

echo number_format(123123123, 2, '.', ',');

//½á¹ûÊä³ö123,123,123.00 2ÊÇСÊýµãºóλÊý£¬µÚÈý¸ö²ÎÊýÊÇСÊýµã·Ö¸ô·û



Ŷ£¬´íÁË£¬ÊÇÔÚhtml Ò³ÃæÊä³ö

Ö»ÒªÄãÊÇÒªÕâÖÖЧ¹û£¬ÄÇ£¬¸³Öµ£¬ÔÚhtmlÒ³ÃæÊä³öÀ´¾ÍÊÇÁË

phpÖдæµÄÊÇÊý×飬ҳÃæÖÐÏÔʾµÄÊÇÆäÖÐÒ»¸öÊôÐÔ£¬ÔÚºǫ́Ôõô¸³Öµ°¡

ÒýÓÃ
phpÖдæµÄÊÇÊý×飬ҳÃæÖÐÏÔʾµÄÊÇÆäÖÐÒ»¸öÊôÐÔ£¬ÔÚºǫ́Ôõô¸³Öµ°¡
PHP code:

$arr=array('a'=>'aaa','b'=>'bbb','c'=>'ccc');
echo $arr['a'];//aaa



Êý×éÖдæµÄÊǶàÐÐÊý¾Ý£¬ÒªÏÔʾµÄÊÇÆäÖÐÒ»ÐеÄijһ¸ö×Ö¶Î

Â¥Ö÷»ØÈ¥¿´Êé°É..ÎÒÊDZȽÏÌÖÑá»Ø´ðÕâ¸öÎÊÌâµÄ.


Ïà¹ØÎÊ´ð£º

ÈçºÎÔÚphpÍøÕ¾ÖÐÌí¼Ó±³¾°ÒôÀÖ - PHP / »ù´¡±à³Ì

ÎÒÔÚÍøÕ¾µÄÒýµ¼Ò³ÖÐÌí¼ÓÁË<embed src="ÒôÀÖµØÖ·" autostart="true" loop="true" hidden="true"></embed>
Õâ¾ä»°£¬È»ºóÌøתҳÃæºó£¬±³¾°ÒôÀÖ¾ÍûÓÐÁË£¬ÔõôÈÃÕ ......

ÕÒ¹¤×÷ºÍ¶Ô¸ÕѧPHPµÄÅóÓѵÄÖÒ¸æ - PHP / ¿ªÔ´×ÊÔ´

Ä¿Ç°ÔÚÎ人ÕÒ¹¤×÷  
·¢Ïִ󲿷ֹ«Ë¾ÎÞÍâºõÁ½ÖÖ
Ò»ÖÖÊǸãÍâ°üµÄ ÒªÓÃzend,cakephpµÈÍâ¹ú¿ò¼Ü
»¹ÒªÊìϤÍâ¹ú¿ªÔ´ÏµÍ³
Ò»ÖÖ¹úÄÚµÄ ÎÞÍâºõ dedecms ecshop shopexÕ⼸ÖÖ¸ÄÕ¾µã ÓеĹ«Ë¾ÉõÖÁÄÃһЩ¸üСµÄϵͳ¸ ......

phpÁ¬½ÓMSSQL Á¬²»ÉÏ - PHP / »ù´¡±à³Ì

Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Çý¶¯³ÌÐò¹ÜÀíÆ÷] δ·¢ÏÖÊý¾ÝÔ´Ãû³Æ²¢ÇÒδָ¶¨Ä¬ÈÏÇý¶¯³ÌÐò, SQL state IM002 in SQLConnect in D:\0\msc\msc\tel.php on line 44
Í ......

ÐÂѧPHP Çë½ÌÎÊÌâ - PHP / »ù´¡±à³Ì

PHPÖÐ ÉùÃ÷±äÁ¿µÄʱºòÒ»¸ö$¸úÁ½¸ö$µÄÇø±ð
±ÈÈç˵
$var="333"; ±íʾ±äÁ¿ÃûΪ$varµÄ±äÁ¿µÄֵΪ333
$var="myvar";$$var="333";±íʾ±äÁ¿ÃûΪ$myvarµÄ±äÁ¿µÄֵΪ333
ÕâÑù˵Çå³þÁËÂ𣿠......

phpÔõôÌ滻ǰÃæµÚÒ»¸ö×Ö·û - PHP / »ù´¡±à³Ì

phpÔõôÌ滻ǰÃæµÚÒ»¸ö¡°$¡±
Äã²»寫Çå³þ,讓ÈËÔõ麼幫Äã...
¸ß¹ÀÎÒµÄ漢語ˮƽ...»òÄãµÄ±í達ÄÜÁ¦

ÒýÓÃ
Äã²»寫Çå³þ,讓ÈËÔõ麼幫Äã...
¸ß¹ÀÎÒµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ