Since you are using php_mssql.dll, you should use php_odbtp.dll instead of
php_odbtp_mssql.dll to prevent namespace conflicts. The ADODb driver name
is 'odbtp', and the database connection should be performed similar to the
following:
$db = NewADOConnection('odbtp');
// Connect to databas
My php 5.0.5 doesn't want to load the mysql module and the libmysql file is
in the root directory of php I just can't seem to get it working. I've also
upgraded to mysql 4.1.12 but that’s working fine.
Please help.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7
-Original Message-
From: Vincent Kruger [mailto:[EMAIL PROTECTED]
Sent: 19 September 2005 04:42 PM
To: 'php-windows@lists.php.net'
Subject: MySQL Problem
My php 5.0.5 doesn't want to load the mysql module and the libmysql file is
in the root directory of php I just can't seem to get it
Vincent Kruger wrote:
My php 5.0.5 doesn't want to load the mysql module and the libmysql file is
in the root directory of php I just can't seem to get it working. I've also
upgraded to mysql 4.1.12 but that’s working fine.
Please help.
Have you enabled it in the extensions section of the
Robert Twitty wrote:
Since you are using php_mssql.dll, you should use php_odbtp.dll instead of
php_odbtp_mssql.dll to prevent namespace conflicts. The ADODb driver name
is 'odbtp', and the database connection should be performed similar to the
following:
$db = NewADOConnection('odbtp');
Hi Alf
Based on a previous posting, the code for the stored procedure
spGetActivePromotions does not return a value. Therefore, $ret is going to
be undefined. The procedure returns a result set that you must iterate
via $rs:
while (!$rs->EOF) {
print_r($rs->fields);
$rs->MoveN
Try dropping the libmysql.dll file in your windows/system32 directory.
Or add the PHP directory to your PATH environment variable. Cheers.
Armando
Mikey wrote:
Vincent Kruger wrote:
My php 5.0.5 doesn't want to load the mysql module and the libmysql
file is
in the root directory of php I jus