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

PHPÅäÖÃSQL Server 2008

1¡¢µ½Î¢Èí¹Ù·½È¥ÏÂÔØеÄÇý¶¯£¬ÏÂÔصØÖ·ÈçÏ£º
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ccdf728b-1ea0-48a8-a84a-5052214caad9
 
¡¡¡¡¹Ù·½ÎĵµÓÐÃèÊö£º
¡¡¡¡Refer to the documentation that is installed with the driver for a description of the new features in this release. The SQL Server Driver for PHP download is available to all SQL Server users at no additional charge. The SQL Server Driver for PHP is a PHP 5 extension that allows for the reading and writing of SQL Server data from within PHP scripts. The extension provides a procedural interface for accessing data in all editions of SQL Server 2005 and SQL Server 2008.
¡¡¡¡¸ù¾Ý¹Ù·½ÎĵµµÄÃèÊö£¬Î¢ÈíÌṩµÄDriverÊÇͬʱÌṩ¸øSQL Server 2005ºÍSQL Server 2008Á½¸ö°æ±¾Ê¹Óõġ£
     ÏÂÔØÇý¶¯£¨ÉϱßÓÐÁ´½ÓµØÖ·£©ÏÂÔعýºóµÄÇý¶¯°üÀïÃæµÄÄÚÈÝÈçÏÂͼ£º
    
   
2¡¢ÐèÒªÐÞ¸ÄC:\WINDOWS\php.iniÖеÄÅäÖãº
¡¡  ²éÕÒ;extension_dir ÐÞ¸ÄΪextension_dir="E:\Program Files\php-5.3.1\ext"ÕâÀïµÄĿ¼ÊÇ°²×°µÄPHPĿ¼£¬extÀïÊÇPHPµÄһЩÀ©Õ¹Îļþ£¬ÔËÐÐʱÐèÒª¼ÓÔØÆäÖеÄһЩ£¬ÏÖÔÚÁ¬½Ósqlserver£¬ËùÒÔÒ»¶¨ÒªÈ¥µôextension_dir Ç°ÃæµÄ·ÖºÅ£»
3¡¢°ÑÉÏͼ½âѹ¿ªµÄÐèÒªµÄdllÎļþ¿½±´µ½extension_dirÉèÖõÄÀ©Õ¹Ä¿Â¼ÀïÃæ¡£
    ÆäÖБ53’±íʾphpµÄ°æ±¾£¬‘ts’±íʾÆô¶¯Ḭ̈߳²È«£¬‘nts’±íʾδÆô¶¯Ḭ̈߳²È«£¬vc6ΪapacheÅäÖã¬vc9ΪiisÅäÖÃ
   
4¡¢ÐÞ¸Äphp.iniʵÏÖÀ©Õ¹£º
¡¡  ÔÚphp.iniµÄÒ»´ó¶Ñ;extension=**.dll¸ñʽÀïÃæÌí¼ÓÐУ¬´Ë²¿·ÖλÓÚÒÔÏÂ×¢ÊÍϱßÒ»°ã£º
; Windows Extensions
; Note that ODBC support is built in, so no dll is needed for it.
; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
; extension folders as well as the separate PECL DLL download (PHP 5).
; Be sure to appropriately set the extension_dir directive.
    Ìí¼Ó¿½±´µÄdllÎļþ£¬Àý£º
extension=php_sqlsrv_53_ts_v9.dll
¡¡¡¡×¢Ò⣽ºÅÓÒ±ßÊǽ⿪¹ýºóµÄÀ©Õ¹µÄÁ½¸öÇý¶¯µÄÎļþÃû£¬±ØÐë±£Ö¤´ËÎļþÔÚÅäÖúõÄÀ©Õ¹Ä¿Â¼ÄÚ£¬¶ø


Ïà¹ØÎĵµ£º

PHP³ÌÐòºÍMySqlÊý¾ÝÂÒÂëÎÊÌâÔ­Òò¼°½â¾ö

PHP³ÌÐòºÍMySqlÊý¾ÝÂÒÂëÎÊÌâÔ­Òò¼°½â¾ö
ÂÒÂëÎÊÌâ¼òµ¥Ëµ¾ÍÊÇÊý¾Ý¿âдÈë¶ÁÈ¡£¬ÍøÒ³Îļþ£¬ÍøÒ³ÏÔʾʱ¼¸¸ö»·½ÚµÄ±àÂë²»Ò»ÖÂÔì³ÉµÄ¡£
ÂÒÂëÎÊÌâ
дÈëʱ£ºÒ³ÃæÌáȡдÈëÊý¾Ý±àÂëºÍдÈëÊý¾Ý¿âʱ±àÂë²»Ò»ÖÂ
¶Áȡʱ£º¶ÁÈ¡ºóËùÓñàÂëÓëÊý¾Ý¿âдÈëʱ²»Ò»ÖÂ
ÏÔʾʱ£º±àÂëÓëÊý¾Ý¿â¶ÁÈ¡ºóµÄÊý¾Ý²»Ò»ÖÂ
ºÜÏÔȻֻÓÐÈýÕ߶¼Í³Ò»²ÅÐУ ......

php while Óëdo whileµÄÇø±ð

±¾½Ì³ÌÀ´½²Ò»Ï¹ØÓÚÔÚphp±à³ÌÖг£Óõ½µÄÑ­»·Óï¾ädo whileÓëwhileµÄÇø±ð°É£¬while Êǵ±Ìõ¼þΪÕæÊDzÅÖ´Ðжødo whileÖÁÉÙ»áÖ´ÐÐһϣ¬ÏÂÃæÎÒÃǾÍÀ´¿´¿´
do {
}while(Ìõ¼þ)
¿´do whileµÄʵÀý°É¡£
<?
$a =10;
do {
echo $a;
}while ($a>11)
ÕâÀï»áÊä³ö10;È»ºóÑ­»·ÖÕÖ¹£¬ÄÇôÎÒÃÇÀ´¿´¿´whileµÄʵÀý°É¡£
$a=10;
w ......

PHPÖÐÎÄÂÒÂëµÄÈý¸öÔ­Òò¼°½â¾ö·½·¨


ÎÒÃÇÔÚ×öPHPÏîÄ¿µÄʱºò£¬¾­³£»áÓöµ½ÖÐÎÄÂÒÂëµÄÎÊÌ⣬ÓÐʱºò±àÂëÎÊÌ⻹µ¼ÖÂMYSQLµÄ±¨´í¡£ÖÐÎÄÂÒÂë×ܹ²ÓÐÈý¸öÔ­Òò
1£ºAPACHE·þÎñÆ÷ÉèÖõ¼ÖÂÂÒÂë
2£ºPHP£¬»òÕßHTMLÒ³Ãæ±àÂëµ¼ÖÂÖÐÎÄÂÒÂë
3£ºMYSQLÊý¾Ý¿âµÄ±íÒÔ¼°×ֶαàÂëµ¼ÖÂÖÐÎÄÂÒÂë
ÎÒÃÇ·Ö±ð´ÓÕâÈý¸ö²¿·ÖÀ´Ì½¾¿PHP³ÌÐòÉè¼ÆÖеıàÂëÎÊÌâ
ÔÚÕâ֮ǰÎÒÃÇÒªÁ˽âһЩ»ù±¾ÀíÂÛ ......

phpÖÐÅжÏ×Ô¶¨Òå·½·¨ÊÇ·ñ´æÔÚ

<?php
 
 
  function myFun(){
   echo "hello,ÕÅÈý";
  }
 
  //ÀûÓÃfunction_exists·½·¨ÅжÏ×Ô¶¯ÒÔ·½·¨ÊÇ·ñ´æÔÚ
  //¸Ã·½·¨²ÎÊýΪҪÅжϵÄ×Ô¶¨Òå·½·¨µÄ·½·¨Ãû£¬¿ÉдΪ
  //"myFun"»òmyFun
  if(function_exists(myFun)){
   echo "´æÔÚ ......

php ajax ±í¸ñÅÅÐò£¬µ÷ÕûÁÐ¿í£¬ÐÞ¸ÄÄÚÈÝ


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" media="all" href="css/style.css" />
<meta http-equiv="Content-Type" content="text/html; ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ