phpÁ¬½ÓSqlServer´íÎó
´ó¼ÒºÃ£¬ÎÒÔÚ²¿ÊðÓʼþweb¶ËµÄʱºò£¬ÓÃroundcubeÁ¬½ÓsqlserverÊý¾Ý¿â³öÏÖÏÂÃæµÄ´íÎó¡£
21-Sep-2009 12:00:49] MDB2 Error: not found (-4): [Error message: extension mssql is not compiled into PHP]
ºÃÏñÊÇmssqlÐèÒªÅäÖõ½phpÖУ¬µ«ÎÒ²»ÖªµÀ¸ÃÔõô×ö¡£Çë´ó¼Ò°ïæ¿´¿´¡£
php.iniÎļþÖÐÕÒµ½extension=php_mssql.dllÈ¥µôÇ°ÃæµÄ;
Â¥ÉÏÕý½â°¡
1Â¥µÄgood
ÎÒÒѾ°´1Â¥µÄ×öÁË¡£µ«»¹ÊDz»Ðа¡
ÖØÆô·þÎñÆ÷û£¿
ÖØÆô·þÎñÆ÷û£¿
ÖØÆô·þÎñÆ÷û£¿
ÖØÆôÁË
½¨ÒéʹÓÃPDO ½øÐÐ MSSQL µÄÁ¬½Ó.
http://cn.php.net/manual/en/ref.pdo-dblib.php#86668
ÏÂÃæÊÇÎÒÓÃpdoÁ´½ÓmssqlµÄ¼òµ¥´úÂë:
PHP code:
function getResulte($table, $array) {
$db=connect("mssql","127.0.0.1","rss","sa","123456");
$result = $db->query ( $table );
echo gettype($result);
$output = '<?xml version="1.0" encoding="UTF-8" ?>';
$output .= '<rss version="2.0">';
foreach ( $result as $row ) {
$output.="<huochetou>";
foreach ( $row as $key => $val ) {
foreach ( $array as $a ) {
if ($key === $a) {
$output .= "<$key>" . $val . "</$key>";
break;
}
Ïà¹ØÎÊ´ð£º
$a = $_FILES['userfile']['name'] ;
$test = $a;
$p = split('/',$test);
$p[count($p)-1];
$content = file_get_contents("$p");
$con ......
Çë½Ìexcel µÄ±àÂëÎÊÌâ
excelÖдæÔÚ Î÷°àÑÀÓÖÐÎÄ£¬Ó¢Ó¶íÓï °¢À²®ÓµÈ¶àÖÖÓïÑÔ php ¶Áȡʱ»ù±¾Õý³£ÏÔʾ£¬¾ÍÊÇÎ÷°àÑÀÓ·¨ÓïµÄ Groupe électrogène marins ÕâÖÖµ¥´ÊµÄºìÉ«×Ö·û»á³öÏÖÂÒÂë¡£±àÂëÕ ......
ÇëÎÊһϸ÷λ´óϺ£¬ÎÒÓÃphp×ö¸öÍøÒ³ÓÎÏ·£¬µ±È»ÊÇ×îÀ¬»øµÄÄÇÖÖhtmlµÄ£¬
ÏÖÔÚÎÒÏë°ÑËùÓÐÍæ¼ÒºÍ¹ÖÎnpcµÄÊý¾Ý´¢´æ£¬
µ±È»£¬Êý¾Ý¿âÖе±È»ÓУ¬µ«ÊÇÎÒÓÖ²»Ïë¹ý¶àµÄÈ¥²éѯÊý¾Ý¿â£¬
±ÈÈçÕ½¶·ÏµÍ³£¬¿Ï¶¨ÒªÏȳõʼ»¯Ë«·½Êý ......
PHPÖÐtitleÈçºÎ¶¯Ì¬ÏÔʾµ±Ç°ÎÄÕµıêÌâ?
ÔÚtitleÖÐÿƪÎÄÕ¶¼ÊÇÏÔʾͬÑùµÄÄÚÈÝ.ÏëÈÃËû¶¯Ì¬ÏÔʾ.²»ÖªµÀÒªÈçºÎд²ÅÄܶ¯Ì¬ÏÔʾµ±Ç°ÎÄÕµıêÌâÄØ?
лл
PHPÖÐtitle£¿Ã»Ã÷°×£¬ÊDz»ÊÇHTMLµÄtitle°¡
Èç¹ûÊǵĻ°£¬Äã¿ÉÒÔ ......