Ver Mensaje Individual
  #9 (permalink)  
Antiguo 06/06/2010, 17:01
Avatar de xarmagedonx
xarmagedonx
 
Fecha de Ingreso: marzo-2009
Mensajes: 360
Antigüedad: 15 años, 1 mes
Puntos: 29
Respuesta: buscador interno con php, ayuda

wiwi agrege lo que me dijiste al codigo:
Código PHP:
// Enviamos un mensaje
    // indicando la cantidad de resultados ($totalRows)
    // para la frase busada ($frase)
    
if(!empty($totalRows)){
        echo 
stripslashes("<p>Se encontraron <strong>$totalRows</strong> resultados para <strong>$frase</strong></p>");        
        
// mostramos los resultados
        
while($row mysql_fetch_array($sqlBuscar)){
            echo 
"<strong><a href=$row[noticiaurl]>$row[noticiaTitulo]</a></strong>";
            echo 
"<p>".substr(strip_tags($row['noticiaNoticia']), 0255)."...</p>";
            echo 
"<pre>";
            
var_dump($row );
            echo 
"</pre>";
        } 


pero me aparece esto:


Escribi bien el codigo??