PHP³õѧ
ÏÖÔÚ¶ÔPHP¸Ð¾õÔ½À´Ô½Ë³ÊÖÁË£¬¶ÔHTMLµÄ±êǩԽÀ´Ô½ÊìϤÁË£¬¿ÉÊǶÔPHPµÄ²å¼þµÄÈÏʶ»¹ÎªÖ®ÉõÉÙ¡£
µ«ÊÇ£¬ËµÊµ»°£¬Ä¿Ç°µÄÎÒÃ²ËÆÒ²²»ÐèҪʹÓÃPHPµÄ²å¼þ£¬Óòå¼þµÄÄ¿µÄ¿ÉÄÜÊÇΪÁËÏԵñȽÏÅ£°É£¬ºÇºÇ¡£
µ«ÊÇ»¹ÊÇ̤̤ʵʵµÄѧϰ°É£¬±Ï¾¹¶îµÄC++»¹Ã»ÓÐѧ£¬¶ÔÓÚPHPµÄ·â×°ºÍ±à³ÌÒ»µãÒ²²»Á˽⡣
Õ¾³¤Ëµ¹ýÁËѧC++µÄʱºòÒª°ÑËüºÍCÓïÑÔ·Ö¿ª£¬±ä³ÉÁ½¸öÓïÑÔÀ´Ñ§£¬µ«ÊÇĿǰû¸Ð¾õµ½¡£
Á˽âC++µÄÕâ¶Îʱ¼ä£¬¸Ð¾õºÜ¶àµØ·½»¹ÊǺÍCÒ»Ñù¡£¸ß¼¶£¨ÎÒ×ÔÈÏΪ£©µÄµØ·½£¬×Ô¼º»¹²»ÉõÁ˽⡣Ôõô°ìÄØ£¿
¡£¡£¡£¡£¡£¡£¡£
ÕæµÄÓ¦¸ÃÈçÕ¾³¤ËµµÄÄÇÑù°É£¬ÂýÂýÀ´£¬²»Òª¸¡Ô꣡
ÂýÂýµÄ×Ô¼ºÕÒµ½ÁËѧϰµÄ¹æÂÉ£¬ÂýÂýµÄ×Ô¼º·¢ÏÖ×Ô¼ºÉÆÓÚ±í´ïÁË£¬Ò²ÂýÂýµÄ·¢ÏÖ×Ô¼º±äµÄ±È½Ï³ÁĬÁË£¬Õâ¿ÉÄܾÍÊdzɳ¤°É¡£
³É³¤µÄµÀ·ÉÏ£¬ËÖªµÀ»áÔõÑùÄØ£¿
Ïà¹ØÎĵµ£º
/***************************by
garcon1986********************************/
<?php
//¼òµ¥Ê¾Àý
class SimpleClass
{
public $var = 'a default value';
public function displayVar(){
echo $this->var;
}
}
// create an object´´½¨Ò»¸ö¶ÔÏó
$A = new SimpleClass;
//µ÷Ó÷½·¨
$A -> displayVa ......
/***************************by
garcon1986********************************/
Ò»¸öÈýάÊý×éµÄÏÔʾ£¬±£´æÒÔ±¸ÒÔºóʹÓá£
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<?php
error_reporting(E_ALL ^ E_NOTICE);
$conn = mysql_connect("localhost","charle ......
WindowsÏÂPHPµÄ°²×°ËäÈ»¼òµ¥£¬µ«Èç¹û²»×¢Òâ·½·¨£¬ÈÔÈ»»áÈÃÄãÍ·ÌÛ¡£´ËÍ⣬PHP 5.2°æ±¾Óë֮ǰ4.x°æ±¾Ò²ÓÐһЩ²»Í¬£¬ËùÒÔÓбØÒª¼Ç¼һÏ£¬±ÜÃâÏ´ÎÍü¼ÇÁËÕâÑùµÄ°²×°ÅäÖ÷½·¨¡£
²½ÖèÒ»£ºÏÂÔØphp 5.2 for windowsµÄ°²×°°ü£¬½âѹÖÁC:\php¡£×¢Òâ´Ë½âѹĿ¼¿ÉÒÔÊÇÔÚÈκÎÅÌÏ£¬È»¶øÄ¿Â¼Ãû²»Äܰüº¬¿Õ¸ñ£»
ÒÔÏÂÊÇphp5.2µÄÎļþĿ¼£º
......
ת×Ô£º http://www.phpsoho.com/article/php/200809/09-239.html
Èç¹û Web Ó¦ÓóÌÐòÖеÄÒ»¸öÌØÐÔÐèÒª³¬¹ý 1 Ãë»ò 2 Ãë²ÅÄÜÍê³É£¬ÄÇôӦ¸ÃÔõô°ì£¿ÐèҪijÖÖÀëÏß´¦Àí½â¾ö·½°¸¡£Ñ§Ï°¼¸ÖÖ¶Ô PHP Ó¦ÓóÌÐòÖг¤Ê±¼äÔËÐеÄ×÷Òµ½øÐÐÀëÏß·þÎñµÄ·½·¨¡£
´óÐ͵ÄÁ¬ËøµêÓÐÒ»¸ö´óÎÊÌ⡣ÿÌ죬ÔÚÿ¼ÒÉ̵ê»á·¢ÉúÊýǧ´Î½»Òס ......