Me suenan muy raros, me gustaria saber como los puedo solucionar.
Mi codigo
Código PHP:
<?php
ob_start("ob_gzhandler");
session_start();
mysql_connect("localhost","root","");
mysql_select_db("carritobasededatos");
$qry=mysql_query("select * from cartas order by id asc");
?>
<html>
<head>
<title>CATÁLOGO</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
while($row=mysql_fetch_assoc($qry)){
echo $row['producto']."<br>";
echo $row['precio']."<br>";
echo $row['categoria']."<br>";
echo $row['descripcion']."<br>";
echo "<img src=images/". $row["fotos"]. " width=75px
border=0>";
}
?>
</body>
</html>
<?php
ob_end_flush();
?>
Mi problema es que cuando quiero arrancar ese php, solo me devuelve los valores de producto, precio,descripcion. Cuando quiero q tambine me devuelva la categoria y la foto
Si me pueden ayudar se los agradezco
chau