Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > note 69677 added to ref.mssql
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 19th December 10:40
stephane.raviart@laposte.net
External User
 
Posts: 1
Default note 69677 added to ref.mssql



Hello,

I've installed Sql Server 2000 on a Windows XP Professional machine. I've configured Apache and PHP as requested for running with SQL :
;extension=php_ming.dll
extension=php_mssql.dll
;extension=php_msql.dll

I've created an ODBC connector (sqlserver, user : sa pwd ="")
When I try following script :

<?php
$dsn="sqlserver";
$username="sa";
$password="";

$sqlconnect=odbc_connect($dsn,$username,$password) ;
$sqlquery="SELECT companyName FROM Customers;";
$process=odbc_exec($sqlconnect, $sqlquery);

while(odbc_fetch_row($process)){
$companyName = odbc_result($process,"companyName");
echo "$companyName<br>"; }
odbc_close($sqlconnect);
?>

for testins a standard SQL Server table (Northwind), I've no error message and nothing is appening. I had the same problem with MySQL test.

Each time I copy necessary file in Windows/System32 or Php/ext directory as it's recommended but I obtain always a white page without error or result.

Is somebody can help me about this problem ?

Best regards
----
Server IP: 66.163.161.117
Probable Submitter: 62.147.171.229
----
Manual Page -- http://www.php.net/manual/en/ref.mssql.php
Edit -- https://master.php.net/note/edit/69677
Del: integrated -- https://master.php.net/note/delete/69677/integrated
Del: useless -- https://master.php.net/note/delete/69677/useless
Del: bad code -- https://master.php.net/note/delete/69677/bad+code
Del: spam -- https://master.php.net/note/delete/69677/spam
Del: non-english -- https://master.php.net/note/delete/69677/non-english
Del: in docs -- https://master.php.net/note/delete/69677/in+docs
Del: other reasons-- https://master.php.net/note/delete/69677
Reject -- https://master.php.net/note/reject/69677
Search -- https://master.php.net/manage/user-notes.php
  Reply With Quote


  sponsored links


2 19th December 10:47
bobby
External User
 
Posts: 1
Default note 69677 deleted from ref.mssql by bobby



Note Submitter: stephane dot Raviart at laposte dot net

----

Hello,

I've installed Sql Server 2000 on a Windows XP Professional machine. I've configured Apache and PHP as requested for running with SQL :
;extension=php_ming.dll
extension=php_mssql.dll
;extension=php_msql.dll

I've created an ODBC connector (sqlserver, user : sa pwd ="")
When I try following script :

<?php
$dsn="sqlserver";
$username="sa";
$password="";

$sqlconnect=odbc_connect($dsn,$username,$password) ;
$sqlquery="SELECT companyName FROM Customers;";
$process=odbc_exec($sqlconnect, $sqlquery);

while(odbc_fetch_row($process)){
$companyName = odbc_result($process,"companyName");
echo "$companyName<br>"; }
odbc_close($sqlconnect);
?>

for testins a standard SQL Server table (Northwind), I've no error message and nothing is appening. I had the same problem with MySQL test.

Each time I copy necessary file in Windows/System32 or Php/ext directory as it's recommended but I obtain always a white page without error or result.

Is somebody can help me about this problem ?

Best regards
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666