Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 / »ù´¡±à³Ì

1.¾«Í¨ÃæÏò¶ÔÏóµÄÉè¼ÆºÍ¿ª·¢£»
2.ÊìÁ·Ê¹ÓÃPHPÓïÑÔ(5.0+)½øÐÐÊý¾Ý¿â£¬ÍøÂçͨÐÅ£¬Îļþ¶Áд£¬°²È«»úÖƵȿª·¢£»
3.ÊìÁ·Ê¹ÓÃMYSQL(5.0+)Êý¾Ý¿â¿ª·¢£¬°üÀ¨»ù±¾µÄÊý¾Ý¿âÉè¼Æ/ÓÅ»¯/°²È«£¬¸´ÔÓµÄT-SQLÓï¾ä±àд£¬ÊìÁ·±àдMYS ......

Ïëѧphp - PHP / »ù´¡±à³Ì

Çë¸ßÊÖÃǸø½éÉܼ¸±¾ºÃÊ飡

ÊÖ²áºÜÖØÒªµÄàÞ£¡~
ÎÒ¶¼ÊÇÐÂÊÖ Ò»Æë¼ÓÓÍ

Ò»°ã¶¼ÊÇÊÖ²áµÄÀ²£¬ÔÙ¼ÓÉÏÒ»±¾ÊµÀý½²½â

php´ÓÈëÃŵ½¾«Í¨ Õâ±¾ÊéÀïÓкöà´íµÄµØ·½¡£

È¥ÂòÊ¥¾­°É£¬ÄDZ¾Ê黹²»´í£¬ÁíÍâÄǸö18.8MµÄÊÖ²áÒ ......

php ¹ØÓÚsession_startµÄÎÊÌâ - PHP / »ù´¡±à³Ì

Çë½Ì¸ßÊÖ°ï棬session_start£¨£©·ÅÔÚÍⲿµÄÎļþÓà require »ò include °üº¬½øÀ´£¬ÇëÎÊÕâÑù×öºÏÀíÂ𣿣¿´úÂëÔËÐÐÊÇÕý³£µÄ£¬ÕâÑù×öºÏÀíÂ𣿣¿Çë¸ßÊÖÖ¸µã¡£¡£¡£¡£ лл····
require »ò include ......

¶¼¿´¿´ ¶¼³¢³¢¡£php - PHP / »ù´¡±à³Ì

ÓÖ³öÏÖÁË $bplot2->SetLegend("ÖÐÎÄÂÒÂë");//ÂÒ
$graph->title->Set("ÿÈÕ¶©µ¥Á¿ÔÂͳ¼Æͼ");//²»ÂÒ
ͬһҳÃæ
jpgraph jpgraph_bar.phpÖÐûÓÐSetFont(FF_SIMSUN,FS_BOLD);Õâ¸ö·½·¨Ñ½ ......

mysqlÔËÓÃÎÊÌâ - PHP / »ù´¡±à³Ì

phpͬʱµ÷ÓÃ3¸öÊý¾Ý¿âÖеÄÒ»¸ö±íµÄÐÅÏ¢£¨¼ÜÉèA.a.aid=B.b.bid=C.c.cid£©£¬Çë˵Ã÷˼·¼°Êéд²¿·Ö´úÂë
ÀýÈ磺
SELECT time, goodid from dbname1.time, dbname2.goods
ÊÇÕâ¸öÒâ˼ô£¿

SELECT time, goodid from ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ