PHP±äÁ¿
PHP±äÁ¿
1¡¢PHP±äÁ¿µÄ¶¨Òå
ÔÚPHPÖУ¬Ê¹ÓÃ×Ö·û´®µÄÃÀÔª·ûºÅ£¨$£©ºóÃæ¸úÉÏÒ»¸ö±êʾ·û£¬¼´±äÁ¿Ãû³Æ£¬ÀýÈ磺$name¡¢$age£¬±íʾһ¸ö±äÁ¿¡£
2¡¢±äÁ¿Ãû³ÆµÄÃüÃû¹æÔò
±äÁ¿Ãû³ÆÓÉ×Öĸ¡¢Ï»®Ïß¿ªÍ·£¬ºóÃæ¸úÉÏÈÎÒâÊýÁ¿µÄ×Öĸ¡¢Êý×Ö»òÕßÏ»®Ïß
±äÁ¿Ãû³Æ²»ÄÜÒÔÊý×Ö¿ªÍ·£¬Öм䲻ÄÜÓпոñ
±äÁ¿Ãû³Æ¿ÉÒÔʹÓÃÖÐÎÄ
±äÁ¿Ãû³Æ¶Ô´óСдÃô¸Ð
¡¾Ê¾Àý¡¿
Îı¾²é¿´¸´ÖÆ´úÂë´òÓ¡¹ØÓÚ
<?php
$var = 'Bob';
$Var = 'Joe';
echo "$var, $Var";
// Êä³ö Bob, Joe
$4site = 'not yet'; // ·Ç·¨±äÁ¿Ãû£¬ÒÔÊý×Ö¿ªÍ·
$_4site = 'not yet'; // ºÏ·¨±äÁ¿Ãû£¬ÒÔÏ»®Ïß¿ªÍ·
$iÕ¾µãis = 'mansikka'; // ºÏ·¨±äÁ¿Ãû£¬¿ÉÒÔÓÃÖÐÎÄ
?>
<?php
$var = 'Bob';
$Var = 'Joe';
echo "$var, $Var";
// Êä³ö Bob, Joe
$4site = 'not yet'; // ·Ç·¨±äÁ¿Ãû£¬ÒÔÊý×Ö¿ªÍ·
$_4site = 'not yet'; // ºÏ·¨±äÁ¿Ãû£¬ÒÔÏ»®Ïß¿ªÍ·
$iÕ¾µãis = 'mansikka'; // ºÏ·¨±äÁ¿Ãû£¬¿ÉÒÔÓÃÖÐÎÄ
?>
365PHPÃâ·ÑÊÓÆµ½Ì³ÌÏÂÔØ£º PHP½Ì³ÌÊÓÆµ,Ãâ·ÑÊÓÆµÏÂÔØ -PHP¼ò½éÓëPHP±äÁ¿ÓëÊý¾ÝÀàÐÍ
×÷ÕߣºÂíÃ÷@PHPÅàѵ PHPÐÞ¶©1.0 2009-09
365PHP£¬ÖйúPHPÔÚÏßÅàѵµÚÒ»Æ·ÅÆ
±¾ÎÄ365PHP°æÈ¨ËùÓУ¬Î´¾Åú×¼×ªÔØ±Ø¾¿¡£
Ïà¹ØÎĵµ£º
Blogϵͳ×÷Ϊ´ó¼Ò×î³£½Ó´¥µÄ»¥ÁªÍø¶«¶«£¬ÔÚÕ¾³¤ÈºÌåÖм¸ºõÈËÊÖÒ»²©£¬´ÓÖªÃûÃÅ»§µÄ²©¿ÍƵµÀ£¬µ½ÍøÂçÓªÏúר¼Ò²©¿Í£¬ÍøÃñ¶Ô²©¿ÍµÄ¹Ø×¢¶ÈÔÚ²»¶ÏÌá¸ß²¢É¡£Ä¿Ç°ÍøÉÏÃâ·ÑµÄblogϵͳ̫ÔÓ£¬ÔÚ´ËÕûÀíPHP°æµÄBlog½éÉÜÈçÏ£º
1¡¢wordpress:http://www.wordpress.org ¹¦ÄÜÒ²ºÜÈ«Ãæ£¬Ó¦¸ÃÊÇÖ§³ÖblogµÄÊ×Ñ¡¡£ËüÓÐ×îÇ¿µÄÄ£°æ¹¦ÄÜ£¬ÒѾ ......
1. DEDE £ÕâÊÇÒ»¿î¹úÄÚ¿ªÔ´µÄcms£¬×÷ÕßÊÇÒ»¸ö¸öÈË£¬ÄÜ×ö³öÈç´Ë¹¦ÄܵÄcms£¬ÊÇÏ൱²»´íµÄ¡£2007°æ¹¦ÄÜÊ®·ÖÇ¿´ó£¬Ï£ÍûÄܸÄÉÆÖ®Ç°Êý¾ÝÁ¿Ò»´ó£¬¸üо²Ì¬Ò³¾ÍºÜÂýµÄȱµã¡£ÒòΪ¿ªÔ´£¬Óн϶àµÄÍæ¼ÒºÍÓµ»¤Õß¡£·Ç³£ÊʺÏÓÐÒ»¶¨±à³Ì»ù´¡µÄÕ¾³¤¡£
¹Ù·½£ºhttp://www.dedecms.com
2. phpcms£Ò»¸ö×ۺϵÄÍøÕ¾¹ÜÀíϵͳ£¬ ......
Õ⼸Ì죬ÎÒÔÚѧϰPHPÓïÑÔÖеÄSPL
¡£
Õâ¸ö¶«Î÷Ó¦¸ÃÊôÓÚPHPÖеĸ߼¶ÄÚÈÝ£¬¿´ÉÏÈ¥ºÜ¸´ÔÓ£¬µ«ÊǷdz£ÓÐÓã¬ËùÒÔÎÒ×öÁ˳¤Æª±Ê¼Ç¡£²»È»¼Ç²»×¡£¬ÒÔºóÒªÓõÄʱºò£¬»¹ÊÇÒª´ÓͷѧÆð¡£
ÓÉÓÚÕâÊǹ©×Ô¼º²Î¿¼µÄ±Ê¼Ç£¬²»Êǽ̳̣¬ËùÒÔдµÃ±È½Ï¼òµ¥£¬Ã»Óжà½âÊÍ¡£µ«ÊÇÎÒÏ룬Èç¹ûÄãÊÇÒ»¸öÊìÁ·µÄPHP5³ÌÐòÔ±£¬Ó¦¸Ã×ãÒÔ¿´¶®ÏÂÃæµÄ²ÄÁÏ£¬¶øÇÒ» ......
ËäÈ»PHPÌṩÁ˺ܶ๦ÄÜÎÒÃÇ£¬µ«ÓÐЩÊÂÇ黹ûÓд¦ÀíÕâЩ·Ç³£·½±ã¡£ÀýÈ磬PHPÌṩµÄÈÕÆÚ¹¦ÄÜ£¬Ê±¼äºÜÓÐÏÞ¡£ MySQLÒѾÌṩÁËÐí¶àÎÒÃÇÕâЩ¹¦ÄÜ¡£ÎÒ¿ÉÒÔʹÓÃMySQLº¯ÊýÀ´´¦ÀíPHPµÄ¹ý³Ì£¿ÎÒÔÚÏÂÃæµÄ³¢ÊÔ¡£
“£¿ PHPµÄ
$ data_time =“1998-12-31 23:59:59”;
$ connect_id = mysql_connect£¨'±¾µØÖ÷»ú'£©;
......
<?php
/* ¶þ½øÖÆÈ¨ÏÞ¿ØÖÆPHPÀà
* ×÷ Õß: ¶à²ËÄñ
* ÓÊ Ïä: kingerq AT QQ DOT com
* À´ Ô´£ºhttp://blog.csdn.net/kingerq/archive/2009/10/22/4714223.aspx
* ´´½¨Ê±¼ä: 2009-10-22
*/
class binPower{
var $power = "";
//ȨÏÞ´æÖü±äÁ¿,Ê®½øÖÆÕûÊý
function __construct($power) ......