Archive
[備忘]php 回傳 jquery json datatype
PHP MSSQL Driver UTF8 讀取及寫入資料
MS SQL PHP Driver 1.1版的 Native Client Driver給錯了!
在windows 7 中測試了一下1.1版,發現一直跟我說,我沒有裝SQL Server Native Client版!
畫面上一直給我錯誤的訊息,並導引我去下載!誰知道這個訊息導引所下載的版本也是錯的!
還好在MSDN上也看到有人有相同的問題!
找了一下正確的版本提供同好下載!
X86 Package (sqlncli.msi) – 4504 KB
X64 Package (sqlncli.msi) – 7919 KB
IA64 Package (sqlncli.msi) – 11078 KB
在這個版本中的 MS SQL PHP DRIVER中,已提供了對UTF-8的支援!而且可以正確的使用哦!
詳情請看下篇囉!
For English
There is a erron message from the origanal Ms Sql PHP Driver1.1 who tell u don’t have the Microsoft Sql Server Native Client! And it will lead u to downlad a wrong version driver!
Here is the correct version to download!!
X86 Package (sqlncli.msi) – 4504 KB
X64 Package (sqlncli.msi) – 7919 KB
IA64 Package (sqlncli.msi) – 11078 KB
Hope this message will help !

Popularity: 10% [?]
相關文章
加裝wp-syntax,使用方式如下
Example 1: PHP, no line numbers
在原始碼模式下,使用下列語法
<div id="foo"> < ?php function foo() { echo "Hello World!\\n"; } ?> </div>
<div id="foo"> < ?php function foo() { echo "Hello World!\\n"; } ?> </div>
Popularity: 18% [?]
相關文章
PHP中文擷取字串
只要PHP.INI檔裡,有使用mbstring的擴充功能!便可使用mb_substr()的函式
用法如下:
mb_substr(字串,啟始位置,擷取字數,編碼)
例:mb_substr("擷取字串",0,2,’big5′
可得=>"擷取"二字
官方說明連結:http://tw.php.net/manual/tw/function.mb-substr.php
希望可以幫助大家
Popularity: 24% [?]
相關文章
使用cal_days_in_month取得當月最後一天
可以使用這個函數cal_days_in_month(CAL_GREGORIAN, 月份,年份)取得所需月份的最後一天
例:
cal_days_in_month(CAL_GREGORIAN, 8,2007)
會取得31
Popularity: 11% [?]

近期迴響