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

phpµ¥ÒýºÅºÍË«ÒýºÅµÄÇø±ð

±¾ÎÄת×Ôhttp://xfs39.javaeye.com/blog/411508 ¸Ðл×÷Õß·ÖÏí
phpµ¥ÒýºÅºÍË«ÒýºÅµÄÇø±ð



    ½ñÌ죬ÓÐÒ»ÐÂѧPHPµÄÍøÓÑÎÊÁ˲èÅ©Ò»¸öÎÊÌ⣺“µ¥ÒýºÅºÍË«ÒýºÅµÄÇø±ðºÍÓ÷¨£¿”£¬ÏÖ½«´ð°¸×ܽáÁËÏ£¬Ð´³ÉÕâƪС¶ÌÎÄ¡£
" "Ë«ÒýºÅÀïÃæµÄ×ֶλᾭ¹ý±àÒëÆ÷½âÊÍ£¬È»ºóÔÙµ±×÷HTML´úÂëÊä³ö¡£
' 'µ¥ÒýºÅÀïÃæµÄ²»½øÐнâÊÍ£¬Ö±½ÓÊä³ö¡£
ÀýÈ磺
$abc='my name is tome';
echo $abc //½á¹ûÊÇ:my name is tom
echo '$abc' //½á¹ûÊÇ:$abc
echo "$abc" //½á¹ûÊÇ:my name is tom
ÌرðÔÚʹÓÃMYSQLÓï¾äµÄʱºò£¬Ë«ÒýºÅºÍµ¥ÒýºÅµÄÓ÷¨ÈÃÐÂÊÖ²»ÖªËù´ë£¬ÔÚÕâÀ¾Ù¸öÀý×Ó£¬À´½øÐÐ˵Ã÷¡£
¼ÙÉè²éѯÌõ¼þÖÐʹÓõÄÊdz£Á¿£¬ÀýÈ磺
select    *    from    abc_table where user_name='abc';
SQLÓï¾ä¿ÉÒÔд³É:
SQLstr = "select    *    from abc_table where user _name= 'abc'" ;
¼ÙÉè²éѯÌõ¼þÖÐʹÓõÄÊDZäÁ¿£¬ÀýÈ磺
$user_name = $_REQUEST['user_name']; //×Ö·û´®±äÁ¿
»ò
$user=array ("name"=>
$_REQUEST['user_name‘,"age"=>$_REQUEST['age'];//Êý×é±äÁ¿
SQLÓï¾ä¾Í¿ÉÒÔд³É£º
SQLstr = "select    *    from abc_table where user_name = ' " .
$user_name . " ' ";
SQLstr = "select * from abc_table where user_name = ' " .
$user["name"] . " ' ";
¶Ô±ÈÒ»ÏÂ:
SQLstr="select * from abc_table where user_name = ' abc ' " ;
SQLstr="select * from abc_table where user_name =' " . $user _name .
" ' ";
SQLstr="select * from abc_table where user_name =' " . $user["name"]
. " ' ";
SQLstr¿ÉÒÔ·Ö½âΪÒÔÏÂ3¸ö²¿·Ö:
1£º"select * from table where user_name = ' " //¹Ì¶¨SQLÓï¾ä
2£º$user //±äÁ¿
3£º" ' "
1,2,3²¿·Ö×Ö·û´®Ö®¼äÓÃ"." À´Á¬½Ó


Ïà¹ØÎĵµ£º

php¶þ¼¶Áª¶¯²Ëµ¥¸Ä¶¯°æ

/*********************************************************************************************
*****************************php¶þ¼¶Áª¶¯²Ëµ¥¸Ä¶¯°æ***********************************
****************************************by garcon1986*****************************************
********************* ......

¡¾Ñ§Ð£È«¾Ö¹¤¾ßÌõ¡¿¹«¸æÄ£¿é(jquery¡¢ajax¡¢php)

ÏîÄ¿ÉèÏë
ѧУ¸÷²¿ÃŵÄÍøÕ¾²¢·ÇÓõÄÒ»Ì×cmsϵͳ£¬ÐÐÕþ²¿ÃÅÓë¶þ¼¶Ñ§ÔºµÄÍøÕ¾ÊýÁ¿ÖÚ¶àÇÒ¿ª·¢ÈËÔ±µÄˮƽ²Î²î²»Æ룬µ¼ÖÂÐÅÏ¢¼Ü¹¹±È½Ï»ìÂÒ¡£Í¨¹ýÒ»¸öÈ«¾ÖµÄ¹¤¾ßÌõʵÏÖȫУվµãÁ´½ÓÓ빫¸æ¶¯Ì¬¸üУ¨ÄÜÔÚÈκÎÒ»¸ö×ÓÕ¾µã¿´µ½×îÐµĹ«¸æ£©µÄ¹¦ÄÜ¡£
¹«¸æÄ£¿éÊý¾Ý¿âÉè¼Æ(Êý¾Ý¿â:globaltools)
Ê×ÏÈ´´½¨Ò»¸ö±íannouncement£¬°üÀ¨Ëĸö× ......

PHP µ÷ÓÃ C# dll

ŪÁË°ëÌì, PHP ÖÕÓÚÄܵ÷ÓÃÎÒµÄC# dll ÁË.
¸ÃËÀµÄ,ÎÒ¶ÔC# COM×¢²áÒ»Ïò²»Á˽â, PHP ÎĵµÉÏÖ»¸øPHPÄDz¿·ÖÄÚÈÝ,û¸æËßÎÒÔõôŪdll
ÎÒ»¹ÉµÙâÙâµÄÓàRegsvr32 ×¢²áÄǸöc# dll.
±³¾°:
Windows xp sp3 ; apache 2.2.14 ; php 5.2.12 ;
VS2010 beta ;
ÓïÑÔ:
PHP5 , C#
C#²¿·Ö:
´´½¨Ò»¸ö C# Class Library . (dll) ......

how to install apache, PHP and MySQL on Linux 3

how to install apache, PHP and MySQL on Linux
This tutorial explains the installation of Apache web server, bundled
with PHP and MySQL server on a Linux machine. The tutorial is primarily for SuSE
9.2, 9.3, 10.0 & 10.1, but most of the steps ought to be valid for all
Linux-like operating ......

ÎÒ»ØÀ´ÁË£¬ÖØÐÂͶÈëPHPµÄ»³±§

¹ýÄêÁË£¬Ò²ÕÇÁËÒ»ËêÁË£¬¸Ð¾õûÓг¤½ø°¡£¡
°¦£¡
ÄêÇ°²Î¼ÓÁËÖйúµçÐŵÄÃæÊÔ¡£
¸Ð¾õºÜÒ»°ã£¬Á¬SQLÈ«³ÆÊÇʲô¶¼²»¶®£¬»¹ºÃÒâ˼×Ô³ÆÊìÁ·ÔËÓÃMYSQL£¬°¦£¡
¹ýÍêÄ꣬Ҫ¿ªÊ¼ÎªÊµÏ°¶ø±¼²¨ÁË¡£
ÍøÁú¿´À´ÊÇûϣÍûÁË¡£
Ö»ÄܽøһЩ±È½ÏÒ»°ãµÄ¹«Ë¾Ñ§Ï°Ñ§Ï°ÁË¡£
´Ó½ñÌ쿪ʼ£¬ÈÏÕæ¿´PHP100µÄ×îм¸¸öÊÓƵ¡£
¿ªÊ¼Í¨¶ÁDZµÄ³ÌÐò£¬×¢½âÉÏ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ