Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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"


Ïà¹ØÎĵµ£º

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

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

Ò»¸öphp·ÖÒ³Éè¼Æ

www.diybl.com¡¡Ê±¼ä£º2008-06-01¡¡×÷Õß:ØýÃû
½«Æä±£´æ³ÉÒ»¸öÎļþ£¬ÓÃʱµ÷ÓÃ
<?
//ΪÁ˱ÜÃâÖØ¸´°üº¬Îļþ¶øÔì³É´íÎ󣬼ÓÁËÅжϺ¯ÊýÊÇ·ñ´æÔÚµÄÌõ¼þ£º
if(!function_exists(pageft)){
//¶¨Ò庯Êýpageft(),Èý¸ö²ÎÊýµÄº¬ÒåΪ£º
//$totle£ºÐÅÏ¢×ÜÊý£»
//$displaypg£ºÃ¿Ò³ÏÔʾÐÅÏ¢Êý£¬ÕâÀïÉèÖÃΪĬÈÏÊÇ20£»
//$url£º·Ö ......

MySQL+PHPÂÒÂëÔ­ÀíÓë½â¾ö

±¾ÎÄ´Ó http://tech.ddvip.com/2009-02/1235627800109815.html ×°ÔØ,·Ç³£¸Ðл×÷Õß!
MySQL+PHP²úÉúÂÒÂëÔ­Òò£º
¡¡¡¡¡ô MySQLÊý¾Ý¿âĬÈϵıàÂëÊÇutf8,Èç¹ûÕâÖÖ±àÂëÓëÄãµÄPHPÍøÒ³²»Ò»ÖÂ,¿ÉÄܾͻáÔì³ÉMySQLÂÒÂ룻
¡¡¡¡¡ô MySQLÖд´½¨±íʱ»áÈÃÄãÑ¡ÔñÒ»ÖÖ±àÂë,Èç¹ûÕâÖÖ±àÂëÓëÄãµÄÍøÒ³±àÂë²»Ò»ÖÂ,Ò²¿ÉÄÜÔì³ÉMySQLÂÒÂ룻
¡¡ ......

Hello World!Ö®phpµ÷ÓÃCOM+×é¼þ(ת)

Éϴμ̱¾ÈË·¢²¼ÁËVC±àдPHPÀ©Õ¹Ö®Hello Worldƪºó£¬·´Ó³ºÜÇ¿ÁÒ£¬´ó¼Ò¶¼Ï£ÍûÄÜÍÑÀëPHP²ËÄñÐÐÁУ¬Õâ´ÎÎÒ¸ø´ó¼Ò´øÀ´PHPµ÷ÓÃC#±àдµÄCOM+×é¼þ¡£ COM+×é¼þÔ´´úÂë CODE:using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; using System.Reflection; using System.Data.O ......

PHP¸÷ÖÖTemplateϵͳ


ËѼ¯²»È«£¬Á´½ÓûÓÐÈ«²¿²âÊÔ£¬´ó²¿·Ö¿ÉÓÃ
Easy Template System
http://ets.sourceforge.net/
http://ets.sourceforge.net/ets.pdf
http://prdownloads.sourceforge.net/ets/ets305b.zip?download
Smarty
http://smarty.php.net/
FastTemplate
http://www.thewebmasters.net/php/FastTemplate.phtml
http://www ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ