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

PHPÊý¾Ý½á¹¹——ÏßÐÔ±íµÄɾ³ý

function delete_array_element($arr,$i) {
$len = count($arr);
for($j=$i; $j<$len; $j++) {
$arr[$j] = $arr[$j+1];
}
array_pop($arr);//½«Êý×éµÄ×îºóÒ»¸öµ¥Ôªµ¯³ö
return $arr;
}
for($i=0; $i<10; $i++) {
$arr1[$i] = $i+1;
}
print_r($arr1);
echo "<br>";
print_r(delete_array_element($arr1,5));
Êä³ö½á¹¹£º
Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 7 [7] => 8 [8] => 9 [9] => 10 )
Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 7 [6] => 8 [7] => 9 [8] => 10 )


Ïà¹ØÎĵµ£º

¡¾×ª¡¿ phpÖÐrequire×¢ÒâÊÂÏî

¡¾×ª×Ô¡¿£ºhttp://blog.miaoheguang.tk/archives/11
±»PHPµÄinclude·¾¶ÅªÔÎÁË¡£×Ô¼ºÊÔÑéһͨ£¬×ܽáÈçÏ¡£
¶¨ÒåA=°üº¬Îļþ B=±»A°üº¬µÄÎļþ C=±»B°üº¬µÄÎļþ
Ò²¾ÍÊÇ˵ A °üº¬ B£¬ B°üº¬C
AÖÐÓÐ
Php ´úÂë
require ‘[B·¾¶]‘ //(ÕâÀï µÄrequire¿ÉÒÔ»»³Érequire_once include)
require ‘[B·¾¶]&l ......

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"/>
<i ......

phpЧÂʸßд·¨

0¡¢Óõ¥ÒýºÅ´úÌæË«ÒýºÅÀ´°üº¬×Ö·û´®
£¬ÕâÑù×ö»á¸ü¿ìһЩ¡£ÒòΪPHP»áÔÚË«ÒýºÅ°üΧµÄ×Ö·û´®ÖÐËÑѰ±äÁ¿£¬µ¥ÒýºÅÔò²»»á£¬×¢Ò⣺ֻÓÐechoÄÜÕâô×ö£¬ËüÊÇÒ»ÖÖ¿ÉÒ԰Ѷà¸ö×Ö·û´®µ±×÷²ÎÊýµÄ“º¯Êý”£¨Òë×¢£ºPHPÊÖ²áÖÐ˵echoÊÇÓïÑԽṹ£¬²»ÊÇÕæÕýµÄº¯Êý£¬¹Ê°Ñº¯Êý¼ÓÉÏÁËË«ÒýºÅ£©¡£
1¡¢Èç¹ûÄܽ«ÀàµÄ·½·¨¶¨Òå³Éstatic£¬¾Í¾ ......

PHP¿ª·¢¹¤¾ß

Ò» Éè¼Æ¹¤¾ß
UML ºÍÏà¹ØÉè¼Æ¹¤¾ß
- Argo UML
UML»æÍ¼¹¤¾ß£¬Ö§³ÖPHP stubÉú³É¡£ (commercial spin off is Posideon) –Java±àд¡£
- Umbrello UML
UML»æÍ¼¹¤¾ß£¬Ö§³ÖPHP stubÉú³É¡£ ÐèÒªUnix / KDE¡£
- Dia
Ö§³ÖUML µÄ»æÍ¼¹¤¾ß -ʹÓÃAutoDia Éú³ÉPHP¡£
- XMI 2 PHP
´ÓXMIÎĵµÉú³ÉPHP´úÂ룬ÓÃXMLÃèÊöU ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ