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

PHPÖе¥ÒýºÅºÍË«ÒýºÅµÄÓ÷¨¾ÙÀý


Ò»Ö±¶¼ÒÔΪÔÚPHPÖУ¬' ºÍ"ÊÇûÓÐÇø±ðµÄ£¬½ñÌì¿´ÁËÖÐÔ­´óѧËïÖÙÔÀÀÏʦµÄÊÓƵ½Ì³Ì£¬²Å·¢ÏÖ£¬ÕâÁ½ÕßÓ÷¨ÊÇÓÐÇø±ðµÄ£¬¾Ù¸ö¼òµ¥µÄÀý×Ó£º
1.php
  <?$str='±ù¶³Óã';
  echo '$str µÄ²©¿ÍµØÖ·ÊÇhttp://www.webxuexi.net' ;//×¢ÒâÕâÀïÊǵ¥ÒýºÅŶ
?>
2.php
<?
  $str='±ù¶³Óã';
  echo "$str µÄ²©¿ÍµØÖ·ÊÇhttp://www.webxuexi.net";  //×¢ÒâÕâÀïÊÇË«ÒýºÅŶ£¬$strºóÓпոñ
?>
3.php
  <?
  $str='±ù¶³Óã';
  echo $str.'µÄ²©¿ÍµØÖ·ÊÇhttp://www.webxuexi.net';  //ÕâÀﵥ˫ÒýÎÞÓ°Ï죬¾Ý˵µ¥ÒýËٶȿì
?>
  ´ó¼Ò¿´½á¹û¾Í¿ÉÒÔÖªµÀ1.phpÏÔʾµÄÊǵ¥ÒýºÅÀïµÄÄÚÈÝ£¬²¢Ã»ÓаÑ$str»»³É"±ù¶³Óã",¼´ÏÔʾ“$str µÄ²©¿ÍµØÖ·ÊÇhttp://www.webxuexi.net”¶ø2.phpºÍ3.php¶¼°Ñ$str»»³ÉÁË"±ù¶³Óã"£¬¼´ÏÔʾµÄÊÇ“±ù¶³Ó㠵IJ©¿ÍµØÖ·ÊÇhttp://www.webxuexi.net”,
   ÕâÑùÒ»¿´£¬Çø±ð¾ÍºÜÃ÷ÏÔÁË£¬µ¥ÒýºÅ»á°ÑÀïÃæµÄ±äÁ¿ÃûÒ²µ±×÷×Ö·û´®´¦Àí¡£¶øË«ÒýºÅ»á×Ô¶¯²éÕÒÀïÃæµÄ±äÁ¿Ãû£¬²¢Ìæ»»£¬ÕâÀïҪעÒâһϣ¬±äÁ¿ÃûºóÈç¹û¸úµÄÊÇÒ»¸öÆÕͨµÄ×Ö·û£¨²»°üÀ¨±êµã·ûºÅ£¬È綺ºÅ£©£¬Ò»¶¨ÒªÔÚ±äÁ¿Ãûºó¼Ó¿Õ¸ñ£¬²»¼Ó³ÌÐò¾Íû·¨ÅжÏÄãµÄ±äÁ¿ÃûÊǵ½ÄĽáÊøÁË¡£
   ¶Ô±È2.phpºÍ3.php£¬ÎÒÃÇ¿ÉÒÔ·¢ÏÖ£¬Ë«ÒýºÅµÄÕâÖÖÓ÷¨¿ÉÒÔÔÚ×Ö·û´®Ïà¼ÓʱʡºÜ¶àÁ¦¡£½¨Òé²»ÓñäÁ¿Ê±Óõ¥ÒýºÅ£¬¾Ý˵Ëٶȿ죬¸öÈËû¸Ð¾õ¡£


Ïà¹ØÎĵµ£º

[PHP] ´Ó json_encode µ½ ajax_encode

PHP 5.2 ¼°ÒÔÉÏ°æ±¾ÌṩÁË json_encode ºÍ json_decode º¯Êý£¬Ï൱ºÃÓá£
¶ø֮ǰµÄ°æ±¾ÔòÐèÒªÏÂÔØÍøÓÑÃÇ×ÔÐпª·¢µÄ¿â£¨ÓÐÐËȤµÄ¿ÉÒÔ¿´Ï http://code.itlearner.com/php/JSON-class.html £©
¿ÉÒԲο¼ÈçÏÂÕâ¸ö·½·¨À´ÔڵͰ汾ÉÏÀ©³äÕâÁ½¸öº¯Êý£º
if (!function_exists('json_encode') && !function_exists('j ......

Ò»·ÝPHPÃæÊÔÌ⣬ÕæÄÑ~

 ¡¡  1¡¢ÓÃPHP´òÓ¡³öÇ°Ò»ÌìµÄʱ¼ä¸ñʽÊÇ2006-5-10 22:21:21(2·Ö)
¡¡¡¡2¡¢echo(),print(),print_r()µÄÇø±ð(3·Ö)
¡¡¡¡3¡¢Äܹ»Ê¹HTMLºÍPHP·ÖÀ뿪ʹÓõÄÄ£°å(1·Ö)
¡¡¡¡4¡¢Ê¹ÓÃÄÄЩ¹¤¾ß½øÐа汾¿ØÖÆ?(1·Ö)
¡¡¡¡5¡¢ÈçºÎʵÏÖ×Ö·û´®·­×ª?(3·Ö)
¡¡¡¡--------------------------------------------------------------- ......

phpµÄ·¢Õ¹¼°°²×°

PHPµÄ·¢Õ¹
       PHP Ô­±¾µÄ¼ò³ÆΪ Personal Home Page£¬ÊÇRasmus Lerdorf ΪÁËҪά»¤¸öÈËÍøÒ³£¬¶øÓÃcÓïÑÔ¿ª·¢µÄһЩCGI¹¤¾ß³ÌÐò¼¯£¬À´È¡´úÔ­ÏÈʹÓÃµÄ Perl ³ÌÐò¡£×î³õÕâЩ¹¤¾ß³ÌÐòÓÃÀ´ÏÔʾ Rasmus Lerdorf µÄ¸öÈËÂÄÀú£¬ÒÔ¼°Í³¼ÆÍøÒ³Á÷Á¿¡£Ëû½«ÕâЩ³ÌÐòºÍһЩ±íµ¥Ö±ÒëÆ÷ÕûºÏÆðÀ´£¬³ÆΪ PHP ......

PHPÐòÁл¯Óõ½µÄ¹¹Ô죺__sleep() __wakeup()

ÔÚPHP½øÐÐÐòÁл¯Ê±£¬serialize() ¼ì²éÀàÖÐÊÇ·ñÓÐ __sleep() ,Èç¹ûÓУ¬Ôò¸Ãº¯Êý½«ÔÚÈκÎÐòÁл¯Ö®Ç°ÔËÐС£¸Ãº¯Êý±ØÐë·µ»ØÒ»¸öÐèÒª½øÐÐÐòÁл¯±£´æµÄ³ÉÔ±ÊôÐÔÊý×飬²¢ÇÒÖ»ÐòÁл¯¸Ãº¯Êý·µ»ØµÄÕâЩ³ÉÔ±ÊôÐÔ. ¸Ãº¯ÊýÓÐÁ½¸ö×÷ÓÃ: µÚÒ». ÔÚÐòÁл¯Ö®Ç°,¹Ø±Õ¶ÔÏó¿ÉÄܾßÓеÄÈκÎÊý¾Ý¿âÁ¬½ÓµÈ. µÚ¶þ. Ö¸¶¨¶ÔÏóÖÐÐèÒª±»ÐòÁл¯µÄ³ÉÔ±ÊôÐÔ,È ......

SQLite Tutorial in PHP

 
SQLite Tutorial in PHP
SQLite is an SQL database manager used locally or on a website, and compatible
in particularly with PHP.
Summary
Installing SQLite and creating a database
.
Installing SQLite. Verifying the installation by creating a base.
Creating and using a SQLite tabl ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ