Ver Mensaje Individual
  #1 (permalink)  
Antiguo 20/11/2013, 10:06
Fozz
 
Fecha de Ingreso: noviembre-2013
Ubicación: México
Mensajes: 94
Antigüedad: 10 años, 5 meses
Puntos: 1
Warning: sqlsrv_fetch_array() expects parameter 1 to be resource, boolean given in

Hola que tal, el día de ayer hice un nuevo tema similar a este, pero con diferente parámetro. Ahora me toco con el Boolean. le he buscado bastante desde el día de ayer que ya no quise molestarlos jeje!! pero tenga la necesidad de hacerlo ya que no se donde puede estar el error..

Me marca el siguiente error:

Warning: sqlsrv_fetch_array() expects parameter 1 to be resource, boolean given in

Código HTML:
Ver original
  1. Warning: sqlsrv_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\pruebas\buscador\buscador_institucion.php on line 104

Mi línea 104 inicia aquí:

Código PHP:
Ver original
  1. while($f=sqlsrv_fetch_array($res))
  2. {
  3. echo '<tr>';
  4. echo '<td width="19">'.$f['Institucion'].'</td>';
  5. echo '<td width="19">'.$f['Tipo'].'</td>';
  6. echo '<td width="157">'.$f['Telefono'].'</td>';
  7. echo '<td width="100">'.$f['Extension'].'</td>';
  8. echo '<td width="100">'.$f['Nombre'].'</td>';
  9. echo '<td width="73">'.$f['Tipo'].'</td>';
  10. echo '<td width="73">'.$f['Telefono'].'</td>';
  11. echo '<td width="73">'.$f['Extension'].'</td>';
  12. }


Alguien podría ayudarme por favor!! gracias!