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

PHPÈçºÎÕýÔò±í´ïʽÌáÈ¡×Ö´® - PHP / ¿ªÔ´×ÊÔ´

Èç¹ûÓÐÒ»´®×Ö´®

ÐÕÃû£ºÕÅÈý
ʱ¼ä£º2010-10-27

ÈçºÎ½«Ãû×ÖÌáÈ¡³öÀ´£¬È»ºó´¦Àíһϣ¬µ«Ãû×Ö²»±ä£¬Èç

ÐÕÃû£ºÕÅÈý
ʱ¼ä£º2010-10-27
PHP code:

$str = 'ÐÕÃû£ºÕÅÈý
ʱ¼ä£º2010-10-27';
echo $str."<br />";
$str =str_replace('ÕÅÈý', '<font color="red">ÕÅÈý</font>', $str);
echo $str;



ÒýÓÃ
PHP code

$str = 'ÐÕÃû£ºÕÅÈý
ʱ¼ä£º2010-10-27';
echo $str."<br />";
$str =str_replace('ÕÅÈý', '<font color="red">ÕÅÈý</font>', $str);
echo $str;


²» ÎÒÒ»¿ªÊ¼ÊDz»ÖªµÀ½ÐʲôÃûµÄ

ÎÒ¸ÄÁËÒ»ÏÂ
ÐÕÃû£º"ÕÅÈý"
ʱ¼ä£º2010-10-27

ÕâÑù¿ÉÄܸüºÃ£¬Ö»Òª»ñµÃÒýºÅÖмäµÄ×Ö´®¾Í¿ÉÒÔÁË£¬µ«ÎÊÌâÊÇÔõô°Ñ×Ö´®ÌáÈ¡³öÀ´£¿

¹Ø×¢¡­¡­

ÔõôûÓÐÈ˽ÌÎÒ£¿

ÒýÓÃ
ÒýÓà 1 Â¥ bing19870624 µÄ»Ø¸´:
PHP code

$str = 'ÐÕÃû£ºÕÅÈý
ʱ¼ä£º2010-10-27';
echo $str."<br />";
$str =str_replace('ÕÅÈý', '<font color="red">ÕÅÈý</font>', $str);
echo $str;


²» ÎÒÒ»¿ªÊ¼ÊDz»ÖªµÀ½ÐʲôÃûµÄ

ÎÒ¸ÄÁËÒ»ÏÂ
ÐÕÃû£º"¡­¡­

code=PHP]
$str = 'ÐÕÃû£º"ÕÅÈý"
ʱ¼ä£º2010-10-27';
echo $str."<


Ïà¹ØÎÊ´ð£º

ÕÒ¹¤×÷ºÍ¶Ô¸ÕѧPHPµÄÅóÓѵÄÖÒ¸æ - PHP / ¿ªÔ´×ÊÔ´

Ä¿Ç°ÔÚÎ人ÕÒ¹¤×÷  
·¢Ïִ󲿷ֹ«Ë¾ÎÞÍâºõÁ½ÖÖ
Ò»ÖÖÊǸãÍâ°üµÄ ÒªÓÃzend,cakephpµÈÍâ¹ú¿ò¼Ü
»¹ÒªÊìϤÍâ¹ú¿ªÔ´ÏµÍ³
Ò»ÖÖ¹úÄÚµÄ ÎÞÍâºõ dedecms ecshop shopexÕ⼸ÖÖ¸ÄÕ¾µã ÓеĹ«Ë¾ÉõÖÁÄÃһЩ¸üСµÄϵͳ¸ ......

php¸újspÖ®¼äsession¹²ÏíµÄÎÊÌâ - Java / Web ¿ª·¢

×î½üÒ»¸öÏîÄ¿ÖÐÓöµ½Ò»¸öÎÊÌ⣺ÔÚÔ­ÓеÄÒ»Ì×ϵͳÖÐ(php¿ª·¢)Ìí¼ÓһЩС¹¦ÄÜ(jsp¿ª·¢)£¬Ô­À´Óû§ÏµÍ³¶¼ÊÇphp¿ª·¢µÄ£¬ÎÒÈçºÎÔÚjsp¿ª·¢µÄ¹¦ÄÜÖÐ×öµ½Óû§ÐÅÏ¢sessionͬ²½ÄØ£¿ ÓÐÈËÊÇ·ñÓÐ×ö¹ýÀàÒÔÏîÄ¿£¬ÏëÌýÌý´ó¼ÒµÄ¿´·¨
......

phpÁ¬½ÓMSSQL Á¬²»ÉÏ - PHP / »ù´¡±à³Ì

Warning: odbc_connect() [function.odbc-connect]: SQL error: [Microsoft][ODBC Çý¶¯³ÌÐò¹ÜÀíÆ÷] δ·¢ÏÖÊý¾ÝÔ´Ãû³Æ²¢ÇÒδָ¶¨Ä¬ÈÏÇý¶¯³ÌÐò, SQL state IM002 in SQLConnect in D:\0\msc\msc\tel.php on line 44
Í ......

ÐÂѧPHP Çë½ÌÎÊÌâ - PHP / »ù´¡±à³Ì

PHPÖÐ ÉùÃ÷±äÁ¿µÄʱºòÒ»¸ö$¸úÁ½¸ö$µÄÇø±ð
±ÈÈç˵
$var="333"; ±íʾ±äÁ¿ÃûΪ$varµÄ±äÁ¿µÄֵΪ333
$var="myvar";$$var="333";±íʾ±äÁ¿ÃûΪ$myvarµÄ±äÁ¿µÄֵΪ333
ÕâÑù˵Çå³þÁËÂ𣿠......

phpÎļþµ÷ÓÃjsÎļþÀïµÄ·½·¨£¿ - PHP / »ù´¡±à³Ì

¼±Çó£ºÔÚphp½Å±¾ÀïÔõôµ÷ÓÃjsÎļþÀï·½·¨£¿
»òÕßÔÚjsÎļþÀïµ÷ÓÃphpÎļþдµÄseesion£¿
PHP¸ÕÈëÃÅѧϰ,ÓÑÇ鶥һ¸ö


¼±Çó£ºÔÚphp½Å±¾ÀïÔõôµ÷ÓÃjsÎļþÀï·½·¨£¿
//echo '<script>alert("ok");< ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ