Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/06/2012, 18:16
gldelossantos
 
Fecha de Ingreso: agosto-2011
Ubicación: Santo Domingo
Mensajes: 487
Antigüedad: 12 años, 8 meses
Puntos: 31
Respuesta: Consulta MySQL y Organizacion de Datos

Amigo haz la consulta de esta manera, simplica tu vida


while($row = mysql_fetch_array($result)){


echo "<li><p class='img'><img class='imgj' src='http://tecnisistemascr.com/store/image/".$row["image"]." alt='picture' width='250' height='150' /></p> \n";
echo "<h2>".$row["name"]." <span class='blue'></span></h2> \n";
echo "<p>".html_entity_decode($row["description"])."</p> \n";
echo "<p><a href='index.php'><img src='images/prev.gif' alt='picture' width='69' height='23' border='0' /></a> <a href='index.php'><img src='images/next.gif' alt='picture' width='69' height='23' border='0' /></a></p> \n";
echo "</li> \n";


echo "</ul> \n";
}
else {

echo "¡ La base de datos est&aacute; vacia !";

}