php ¸ÅÄî×ܽá
1 ÄÚ´æÒç³ö
µ±³ÌÐòÔËÐеÄʱºò..¶¨ÒåÁ˵Ĵ¢´æ±äÁ¿¾Í»á±»ÄÚ´æ·ÖÅä¿Õ¼ä..¿Õ¼ä´óСÓɱàдÕ߶¨ÒåµÄʱºò¹æ¶¨µÄ...µ«..³ÌÐòÔËÐÐÁË..È´ÐèÒªµÄ¿Õ¼ä±È¶¨ÒåµÄ´ó..ÕâÑù¾ÍÒç³öÁË.
Ò»¸ö±È½Ï¼òµ¥µÄÅжÏÄÚ´æй©µÄ·½·¨£¬¿´Ò»ÏÂÄãµÄ³ÌÐòËùÕ¼ÓõÄprivate bytesÊǶàÉÙ£¬Èç¹ûÒ»Ö±Ôö¼Ó£¬Ò²¾Í˵Ã÷ÓÐÄÚ´æй©¡£
½â¾ö·½·¨
http://blog.zol.com.cn/781/article_780182.html
Ïà¹ØÎĵµ£º
ʵÀýÒ»£ºÎ޲εĴ洢¹ý³Ì
$conn = mysql_connect('localhost','root','root') or die ("Êý¾ÝÁ¬½Ó´íÎó!!!");
mysql_select_db('test',$conn);
$sql = "
create procedure myproce()
begin
INSERT INTO user (id, username, sex) VALUES (NULL, 's', '0');
end;
";
mysql_query($sql);//´´½¨Ò»¸ömyproceµÄ´æ´¢¹ý³Ì
......
<?PHP
$word = new COM("word.application") or die("Can't start Word!");
// print the version of Word that's now in use
echo "Loading Word, v. {$word->Version}";
// set the visibility of the application to 0 (false)
// to open the application in the forefront, use 1 (true)
$word->Visibl ......
<?php
$a = 1;
function b(&$c)
{
$c++;
return $c;
}
$d=b($a); // d = 2; a = 2;
$d++; // d = 2;
echo($a); // ÏÔʾ2
?>
ÒýÓ÷µ»Ø:
<?php
$a = 1;
function &b(&$c)
{
$c++;
return $c;
}
$d=b($a); // ×¢ÒâÕâÀï dÓëb·µ»ØµÄÖµ(È·ÇÐÀ´Ëµ, ÕâÀï·µ»ØµÄ² ......
ÓÉÓÚÏÖÔÚµÄä¯ÀÀÆ÷ÒѾ¿ÉÒÔʶ±ð¸ñʽΪtxtµÄÎĵµ¸ñʽ£¬ËùÒÔÈç¹ûÖ»ÊǸøtxtÎĵµ×öÒ»¸öÎÄ×ÖÁ´½ÓµÄ»°£¬¿ÉÄÜÖ»ÊÇ´ò¿ªÒ»¸öд°¿ÚÏÔʾtxtÎļþµÄÄÚÈÝ£¬²¢²»ÄÜʵÏÖµã»÷ÏÂÔصÄÄ¿µÄ¡£We have to do something else.
µ±È»Õâ¸öÎÊÌâµÄ½â¾ö°ì·¨Ò²¿ÉÒÔÊÇÄ㽫ÄãµÄtxtÎļþ¸ÄÃûΪä¯ÀÀÆ÷²»ÈÏʶµÄÎļþ£¬±ÈÈçrar,ÕâÑùµÄ»°µã»÷£¬ ......
¶Ô CodeIgniter µÄ½éÉÜ
´ó¶àÊýPHPer¶¼Ïëд³öÔËÐÐ״̬Á¼ºÃµÄÓ¦ÓóÌÐò£¬¶øÇÒÏ£Íû¾¡¿ÉÄÜ×öµÃ¼òµ¥ÇÒ²»·ÑÊ¡£ÕâƪÎÄÕÂÊÇÓÐ¹Ø CodeIgniterµÄ£¨ÒÔºó¼ò³ÆCI£©,CIÊÇÒ»¸ö´ï³ÉÉÏÃæÄ¿µÄµÄËùν¿ò¼Ü¡£
Èç¹ûÄãÖ»ÊÇÒª´ï³ÉÒ»¸ö×îÖյĽá¹û£¬¶ø°ÑÖмäËùÓеıàÂëϸ½ÚºÍ¸´ÔÓͳͳ¶ª¸øÒ»¸ö¿ò¼Ü£¬CIÊÇÄã×îºÃµÄÅóÓÑ¡£
CIÓкܶàÓŵ㣺Ãâ·Ñ, ÇáÁ¿¼¶, ......