Date: 06/30/01
- Next message: fmk <email protected>: "[PHP-DEV] Bug #9379 Updated: mssql_query can't get result"
- Previous message: fmk <email protected>: "[PHP-DEV] Bug #11730 Updated: Cannot use uniqueidentifier"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 10413
Updated by: fmk
Reported By: jesus.estrada <email protected>
Old-Status: Open
Status: Closed
Bug Type: MSSQL related
Operating system:
PHP Version: 4.0.4pl1
Assigned To:
Comments:
Handling of binary data was changed in php4.0.6. Please update and try again.
Previous Comments:
---------------------------------------------------------------------------
[2001-04-19 22:01:41] jesus.estrada <email protected>
Looks like there's a problem in the Windows version of the mssql extension. I'm having the same problem as Leonid Freidin with queries that have a image in the result.
I'm using php4.04pl1.
This is the code.
<?
$con = mssql_connect("laptop2000","sa","adfasdf") or die("couldnt connect to db"); //Nos conectamos al servidor de BD
if (mssql_select_db("MexMatch",$con)) {
$query= "select * from Usuario where apodo = 'karls'"; //It crashes here, because I have an image field here.
$result = mssql_query($query,$con) or die("bke");
while($array = mssql_fetch_array($result))
echo $array{"apodo"};
mssql_free_result($result);
}
mssql_close($con);
?>
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10413&edit=2
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: fmk <email protected>: "[PHP-DEV] Bug #9379 Updated: mssql_query can't get result"
- Previous message: fmk <email protected>: "[PHP-DEV] Bug #11730 Updated: Cannot use uniqueidentifier"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

