note 11396 added to mssql_fetch_array
| From: | anshell at hotmail dot com | Date: | Mon, 19 Feb 2001 19:11:08 +0000 |
| Subject: | note 11396 added to mssql_fetch_array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11250@lists.php.net to get a copy of this message | ||
hola a todos:
tengo instalado en mi windows98 php bajo apache, al ejecutar el siguiente codigo:
asumo la conexión éxitosa
$consulta = "SELECT usu_nombre from usuario";
$resp = mssql_query($consulta);
$arreglo = array();
while ($fila = mssql_fetch_array($resp))
{
$arreglo[] = $fila["usu_nombre"];
}
$iCount = count($arreglo);
for ($i=0; $i<$iCount; $i++)
{
echo ($arreglo[$i] . "
\n");
}
Al ejecutarla bajo Internet explorer 4.0 sale....
HP provocó un error de página no válida en el
módulo PHP4TS.DLL de 0167:1007badb.
Registros:
EAX=006633c8 CS=0167 EIP=1007badb EFLGS=00010207
EBX=0065c614 SS=016f ESP=0063fb58 EBP=00798470
Bueno no se que librería adicional debo agragar, por favor necesito su ayuda urgente
De antemano gracias
http://www.php.net/manual/es/function.mssql-fetch-array.php