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

PHPÅúÁ¿É¾³ý¼¼ÇÉ


Ê×ÏÈÒªÁ˽âsqlÓï¾ä  
 
$SQL="delete from `PHP100` where id in (1,2,4)";
±íµ¥´ó¸ÅÊÇ£º
 
<form action="" method="post">
<input name="ID_Dele[]" type="checkbox" id="ID_Dele[]" value="1"/>
<input name="ID_Dele[]" type="checkbox" id="ID_Dele[]" value="2"/>
<input name="ID_Dele[]" type="checkbox" id="ID_Dele[]" value="3"/>
<input name="ID_Dele[]" type="checkbox" id="ID_Dele[]" value="4"/>
<input type="submit"/>
</form>
phpº¯ÊýÖ÷ÒªÓõ½implode  
$ID_Dele= implode(",",$_POST['ID_Dele']);
$SQL="delete from `user` where id in ($ID_Dele)";
××××××××××××××××××××××××××××××××
implode
½«Êý×é±ä³É×Ö·û´®¡£
Óï·¨:
string implode(string glue, array pieces);
·µ»ØÖµ:
×Ö·û´®
º¯ÊýÖÖÀà:
×ÊÁÏ´¦Àí
 
ÄÚÈÝ˵Ã÷
±¾º¯Êý½«Êý×éµÄÄÚÈÝ×éºÏ³ÉÒ»¸ö×Ö·û´®£¬²ÎÊý glue ÊÇ×ÖÖ®¼äµÄ·Ö¸ô·ûºÅ¡£
 
ʹÓ÷¶Àý
<?
$colon_separated 

implode
(
":"

$array
);
echo 
$colon_separated
;
?>
××××××××××××××××××××××××××××××××
ȫѡ
<script>function checkall(form, prefix, checkall) {
for(var i = 0; i < form.elements.length; i++) {
var e = form.elements[i];
if(e.name != checkall && (!prefix || (prefix && e.name.match(prefix)))) {
e.checked = form.elements[checkall].checked;
}
}
}</script>
<form>
<input type="checkbox"


Ïà¹ØÎĵµ£º

IISµÄPHP×î¼ÑÅäÖÃ

ת×Ô£ºhttp://www.phpq.net
×¼±¸£º
1¡¢Ò»Ì¨°²×°ºÃµÄ Windows 2003 ·þÎñÆ÷£¬²¢ÇÒÒѾ­°²×°ÁË IIS 6¡£
2¡¢ÏÂÔØ windows °æµÄ PHP ¶þ½øÖÆÑ¹Ëõ°ü¡£
°²×°£º
½âѹËõ PHP ¶þ½øÖÆÑ¹Ëõ°üµ½ C:\php Ŀ¼Ï£¨ÕâÀï¼ÙÉè C: ÅÌÊÇϵͳÅÌ£¬¼´°²×°ÁËWindows ϵͳµÄÅÌ£¬Èç¹ûϵͳÅÌÊÇ D:
ÅÌ£¬Ôò½âѹËõµ½ D:\php Ŀ¼Ï£¬ÒÔ´ËÀàÍÆ£¬Ï ......

phpÅäÖÃÎļþphp.ini ÖÐÎİæ

ת×Ô:http://www.ccvita.com
;;;;;;;;;;;;;;
;; ¼ò½é ;;
;;;;;;;;;;;;;;
; ±¾ÎIJ¢·ÇÊǶÔÓ¢Îİæ php.ini µÄ¼òµ¥·­Ò룬¶øÊDzο¼ÁËÖÚ¶à×ÊÁÏÒԺ󣬽áºÏ×Ô¼ºµÄÀí½â£¬Ôö¼ÓÁËÐí¶àÄÚÈÝ£¬
; °üÀ¨ÔÚÔ­ÓÐ php.ini »ù´¡ÉÏÔö¼ÓÁËһЩʵÓÃÄ£¿éµÄÅäÖÃ˵Ã÷£¬Í¬Ê±¶ÔÎļþÄÚÈݵİ²ÅŽøÐÐÁ˵÷Õû¡£
; ÓÉÓÚ×÷Õß²»Ï²»¶ no-free µÄÍæÒâ¶ù£ ......

PHP³ÌÐòµ÷ÊÔÈÕ¼Ç

 ÎÊÌâÒ»£ºcactiÈç·¨Õý³£µÇ¼£¬Ã»Óб¨PHP³ÌÐò´íÎó
 ½â¾ö¹ý³Ì½â¾ö¹ý³Ì£º¿ªÆôPHP±¨´íÏÔʾ£¨ÔÚµ÷ÊÔʱ£¬Ò»Ö±¿¨ÔÚÕâ¶ù£¬ÓÉÓÚÊÇ·þÎñÆ÷ÉÏ£¬Ã»ÓпªÆô±¨´í³ÌÐò£©display_errors = On
                ·¢ÏÖ±¨Warning: session_start() [ ......

php°ËÈٰ˳Ü

ÒÔ¶¯ÊÖʵ¼ùΪÈÙ , ÒÔÖ»¿´²»Á·Îª³Ü;
ÒÔ´òÓ¡ÈÕ־ΪÈÙ , ÒÔµ¥²½¸ú×ÙΪ³Ü;
ÒÔ¿Õ¸ñËõ½øÎªÈÙ , ÒÔÖÆ±íËõ½øÎª³Ü;
ÒÔµ¥Ôª²âÊÔΪÈÙ , ÒÔÈ˹¤²âÊÔΪ³Ü;
ÒÔÄ£¿é¸´ÓÃΪÈÙ , ÒÔ¸´ÖÆÕ³ÌùΪ³Ü;
ÒÔ¶à̬ӦÓÃΪÈÙ , ÒÔ·ÖÖ§ÅжÏΪ³Ü;
ÒÔPythonicΪÈÙ , ÒÔÈßÓàÍÏí³Îª³Ü;
ÒÔ×ܽá·ÖÏíΪÈÙ , ÒÔ¹òÇóÆä½âΪ³Ü; ......

Taoapi PHP SDK ÒѾ­Éý¼¶µ½2.2 Ö§³ÖUTF 8 GB2312±àÂë

´Ó2.2Æð SDK ½«È«ÃæÖ§³ÖUTF-8 GB2312 µÈ¶àÖÖ¸ñʽ,Ò»Ì×SDK ¾Í¿ÉÒÔ×ÔÊÊÓ¦ÄúËùÐèÒªµÄ±àÂë,
ÄÚ´øÅäÖÃÎļþ Taoapi_Config.inc.php
×îиüÐÂ
2010-02-25 Ôö¼ÓÁ˱àÂë¸ñʽ×ÔÊÊÓ¦¹¦ÄÜ
2010-02-25 Ôö¼ÓÁËAPIµ÷ÓÃÈÕÖ¾¹¦ÄÜ,ÿÐÐÏ൱ÓÚÒ»´ÎAPIµ÷ÓÃ
2010-02-25 Ôö¼ÓÁË×Ô¶¯Çå³ý»º´æµÄ»úÖÆ
2010-02-25 Ôö¼ÓAPIµ÷Óó¬¹ýÏÞÖÆÊ±×Ô¶¯Çл»µ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ