Home » Database » DB » Bug #4282
mssql & columns' names
Details
| Submitted | 2005-05-05 08:43 UTC |
|---|---|
| From | daniel at konczyk dot net |
| Assigned | danielc |
| Status | Bogus |
| Package | DB |
| PHP Version | 4.3.10 |
| OS | debian gnu/linux |
| Roadmaps | (Not assigned) |
Comments
[2005-05-05 08:43 UTC] daniel at konczyk dot net
Description:
------------
I'm connecting to windows 2000 sql server through php (on linux)
I wanted to fetch the query results with column names as keys, but it isn't working
Actually, none of the methods (getAll, getAssoc etc) ever returns a result with column names.
They either return ordered results or empty arrays (depends on which fetchmode used)
So, I can fetch a result, but not with column names in any place of the array being returned
[2005-05-06 06:44 UTC] daniel at konczyk dot net
I'm working with it just as I do with postgresql or mysql.
Trust me, it is not working (at least for me)
Have you used it on the linux box?
I've read some bug reports about that issue (It seems that I'm not alone)
I see, that some guy had the same problem (and it was not solved).
I just removed @ from line 319 and I have the same issue as him:
Warning: Wrong parameter count for mssql_fetch_array() in /var/www/tools/pear2005.04.13/DB/mssql.php on line 319
As I have written before I'm connecting to that database from linux, using FreeTDS
So, is that still an issue?
Have you used that on the linux box? Or just on windoze
I'm trying to find, where's the problem. Is it php build or freetds or DB
Any clue?