Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/09/2017, 12:54
chicosandro2004
 
Fecha de Ingreso: agosto-2005
Mensajes: 76
Antigüedad: 18 años, 7 meses
Puntos: 4
Warning: mysql_fetch_assoc()

Hola a todos

desde hace algunos minutos se me presento este error en mi web

Código PHP:
Warningmysql_fetch_assoc() expects parameter 1 to be resourceboolean given in /home/WEB/public_html/html/php/DESTACADOS_cabecera_mobil.php on line 67 
me imagino actualizaron algo, php, mysql etc...
no quiero pedir que vuelva atras la actualizacion, por lo que prefiero modificar mi php

si alguien me puede ayudar o bien hacerme la modificacion se lo agradeceria... o bien agregarme a mi skype "chicosandro2004" y le pgo por paypal lo antes mencionado

aca dejo la LINEA 67 para ver si alguien e pude cooperar por aca o skype

- Linea 67
Código PHP:
while ($row mysql_fetch_assoc($result)) { 

- Aca un poco mas completo, con mas lineas, el mismo codigo
Código PHP:
$data = array();
while (
$row mysql_fetch_assoc($result)) {
    
$data[] = $row;/*array(
        'id' => $row['ad_id'],
        'img' => $row['img'],
        'name' => $row['user_name'],
        'userid' => $row['user_id'],
        'title' => $row['ad_title'],
            //agregar más datos, los que se necesiten de la tabla user o ad
    );
     print_r($row);*/
}
$encontrados count($data);