![]() |
Help Sql 2005x64 and PPh 5 X64
$result = mssql_query("SELECT castle.name, pledge.name as clan_name FROM castle,pledge WHERE castle.id = pledge.castle_id",$conn);
This line work perfect in SQL 2000 and PPH 5 x32 bit, but ai change SQL 2005X64 and the line said FATAL ERROR CALL TO UNDEFINET FUNTION mssql_query() any idea, thank |
Other page with php funtion perfect
---------------------------------------------------------- but this page dont funtion $conn="provider=SQLNCLI.1;($ip,$user,$pass,$db)"; $result = mssql_query("SELECT castle.name, pledge.name as clan_name FROM castle,pledge WHERE castle.id = pledge.castle_id",$conn); while($row= mssql_fetch_array($result,MSSQL_ASSOC)){ switch($row['name']){ case ------------------------------------------------------- Do not is php.ini error is in mssql_query |
Its working fine for me with SQL Server Express 2005 + php 5.1.4 (php installed on Linux box), the mssql_connect func is provided by FreeTDS and php_mssql extension on Linux, on Widnows is provided by your PHP implementation.
On windows you need to specify to load mssql.dll on PHP.ini Make sure you have configured your extensions dir properly on PHP.ini |
Make sure you have configured your extensions dir properly on PHP.ini
------------------------------------------------------------------------------------- The extention php_mssql.dll is very good. and i use sql server 2005, enterprise edition . And the instruction no funtion, in other case yes funtion but in this case specific, do not funtion iqual thank for all |
| All times are GMT. The time now is 22:50. |