Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 12.08.2006, 22:42   #1
palace
Архивный участник
 
Join Date: Jul 2006
Posts: 118
Default 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
palace is offline  
Old 12.08.2006, 23:17   #2
palace
Архивный участник
 
Join Date: Jul 2006
Posts: 118
Default

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
palace is offline  
Old 13.08.2006, 00:23   #3
[DeV/NuLL]
Архивный участник
 
Join Date: Aug 2005
Posts: 23
Default

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
[DeV/NuLL] is offline  
Old 13.08.2006, 18:23   #4
palace
Архивный участник
 
Join Date: Jul 2006
Posts: 118
Default

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
palace is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 22:30.