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

php while Óëdo whileµÄÇø±ð

±¾½Ì³ÌÀ´½²Ò»Ï¹ØÓÚÔÚphp±à³ÌÖг£Óõ½µÄÑ­»·Óï¾ädo whileÓëwhileµÄÇø±ð°É£¬while Êǵ±Ìõ¼þΪÕæÊDzÅÖ´Ðжødo whileÖÁÉÙ»áÖ´ÐÐһϣ¬ÏÂÃæÎÒÃǾÍÀ´¿´¿´
do {
}while(Ìõ¼þ)
¿´do whileµÄʵÀý°É¡£
<?
$a =10;
do {
echo $a;
}while ($a>11)
ÕâÀï»áÊä³ö10;È»ºóÑ­»·ÖÕÖ¹£¬ÄÇôÎÒÃÇÀ´¿´¿´whileµÄʵÀý°É¡£
$a=10;
while($a>11){
echo $a;
}
ÕâÀï²»»áÓÐÈκÎÊä³ö£¬ÏÖÔÚ¸÷λÃ÷°×ÊÇʲôÒâ˼ÁË°É¡£


Ïà¹ØÎĵµ£º

£Ûת£ÝPHPÖÐstr_replaceº¯ÊýµÄÏê½â


ÔÚʵ¼ÊµÄ³ÌÐò¿ª·¢ÖУ¬Ö´ÐÐ×Ö·û´®Ìæ»»²Ù×÷ÊÇÒ»¼þ·Ç³£¾­³£µÄÊ£¬¶Ô
str_replace
º¯ÊýµÄʵÓÃÒ²»á·Ç³£Æµ·±¡£
     
Õâ¶Îʱ¼äÔÚ¿´¡¶
PHP
ºÍ
MySQL Web
¿ª·¢¡·Ò»Êé¿´µ½
str_replace
½²½â£¬Ò»¶ÎСÌáʾдµ½£º¿ÉÒÔΪ
str_replace
µÄÈý¸ö¶¼Ê¹ÓÃÊý×é´«È룬µ«½²½â±È½Ï¼òµ¥£¬ÓÚÊǾö¶¨×Ô¼ºµÄÊÔÑé ......

phpÏÂͨ¹ýxml_parse½âÎöxmlÎļþ

xml_parse½âÎöxmlÎļþʱºò£¬
ºÜÓпÉÄܲ»½ö½öµ÷ÓÃÒ»´Îcharacter_handler¡£
ËùÒÔÔÚ»ñµÃxml½ÚµãµÄÎı¾ÐÅÏ¢µÄʱºò£¬ÒªÓÃÁ¬½ÓÔËËã".="¡£
²Î¿¼ http://jp2.php.net/manual/ro/function.xml-set-character-data-handler.php
ken at positive-edge dot com
30-Jan-2002
01:20
the function handler is called ......

php»ñÈ¡¿Í»§¶ËIPµØÖ·µÄ¼¸ÖÖ·½·¨

PHP Code one: //php»ñÈ¡ipµÄËã·¨
$iipp=$_SERVER["REMOTE_ADDR"];
echo $iipp; PHP Code two: //php»ñÈ¡ipµÄËã·¨
$user_IP = ($_SERVER["HTTP_VIA"]) ? $_SERVER["HTTP_X_FORWARDED_FOR"] : $_SERVER["REMOTE_ADDR"];
$user_IP = ($user_IP) ? $user_IP : $_SERVER["REMOTE_ADDR"];
echo $ ......

ÕÐƸjsp\phpÍøÕ¾¿ª·¢³ÌÐòÔ±

ÉϺ£ÔóÎäÍøÂçÓÐÏÞ¹«Ë¾
ÕÐƸ£ºÕÐƸjsp\phpÍøÕ¾¿ª·¢³ÌÐòÔ±
ÒªÇóÓÐÈýÄêÒÔÉÏ¿ª·¢¾­Ñé
¶ÔTomcat+Apache¼¯Èº¼¼ÊõÓÐÊìϤµÄ¾­Ñé.¶ÔËÑË÷ÒýÇæ¼¼Êõ(Lucene)±È½ÏÁ˽⡣
-ÊìÁ·Ê¹ÓÃUML½¨Ä£¹¤¾ß¡¢°æ±¾¿ØÖƹ¤¾ß; ÊìÁ·Ê¹ÓÃEclipseµÈIDE¿ª·¢¹¤¾ß;
-¾«Í¨JAVA,php,ÉîÈëÀí½âOOP˼Ïë,ÊìϤÉè¼Æģʽ¡£
-ÊìÁ·ÔËÓÃJ2EE¼¼Êõ¡¢WEB·þÎñÆ÷ºÍ¹ØϵР......

BDB¹Ù·½¸øPHPÌṩµÄ½Ó¿ÚµÄ³ÌÐòÔ±ÕæÊDz»¸ºÔð

¸ÕдÍêÇ°ÃæµÄÈÕÖ¾£¬ÓÖ·¢ÏÖÒ»¸öBug:
¸ù¾ÝOracle¹Ù·½ÌṩµÄ˵Ã÷£º
http://www.oracle.com/technology/documentation/berkeley-db/db/programmer_reference/ext_php.html
class Db4µÄÉùÃ÷ÈçÏ£º
class Db4 {
function Db4($dbenv = null) {} // create a new Db4 object using
......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ