Re: [PHP-WIN] MySQL Problem

2005-09-19 Thread Armando
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

Re: [PHP-WIN] Re: Calling MSSQL Stored Procedure

2005-09-19 Thread Robert Twitty
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

Re: [PHP-WIN] Re: Calling MSSQL Stored Procedure

2005-09-19 Thread Alf Stockton
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');

Re: [PHP-WIN] MySQL Problem

2005-09-19 Thread Mikey
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

[PHP-WIN] FW: MySQL Problem

2005-09-19 Thread Vincent Kruger
-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

[PHP-WIN] MySQL Problem

2005-09-19 Thread Vincent Kruger
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

Re: [PHP-WIN] Re: Calling MSSQL Stored Procedure

2005-09-19 Thread Robert Twitty
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