Espero que esten bien, solo para ver si me pueden ayudar a entender por que en los navegadores firefox o Internet explorer no se ven mis consultas a la base de datos
Ej.
Tengo esta pagina
http://www.wconexion.com.mx/meqcer/maquinaria.php
Como se daran cuenta este catalogo lo toma desde la BD.
Pero en Firefox o Internet Explorer
No me arroja datos
A que se debera esto?
Les imprimo mi codigo realizado para esta seccion
Código PHP :
<?php $DOMAIN_URL = "http://www.wconexion.com.mx/meqcer/"; ?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Construction Equipment Sales de México</title>
<!-- Stylus -->
<link href="css/style_meqcer.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="css/lavalamp_test.css" type="text/css" media="screen">
<link rel="shortcut icon" href="img/favicon.ico">
<!-- Media -->
<script type="text/javascript" src="media/fecha-hora.js"></script><!-- Hora y Fecha -->
<script type="text/javascript" src="media/expose.js"></script><!-- Formulario -->
<style type="text/css">
#exposeMask {}
form.expose {}
</style>
<script >
// execute your scripts when the DOM is ready. this is a good habit
$(function() {
// expose the form when it's clicked or cursor is focused
var form = $(".expose").bind("click keydown", function() {
$(this).expose({
// when exposing is done, change form's background color
onLoad: function() {
form.css({backgroundColor: 'none'});
},
// when "unexposed", return to original background color
onClose: function() {
form.css({backgroundColor: null});
}
});
});
});
</script>
</head>
<body>
<div id="site">
<div id="site-interior">
<div id="header">
<div class="col-1">
<div class="logo"><a href="<?= $DOMAIN_URL?>"><img src="img/logo.jpg" width="275" height="99"></a></div>
</div>
<div class="col-1r">
<?php include ('redes.inc.php'); ?>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
<div id="menu-nav">
<?php include ('menu.inc.php'); ?>
</div>
<div class="clear"></div>
<div style="margin-top:15px;" id="wrapper">
<div class="col-1">
<div class="menu-barra">
<?php include ('category.inc.php'); ?>
</div><br>
<?php include ('newslletter.inc.php'); ?>
<div style="margin:5px 0;"><img src="img/call_to_action_contacts.jpg" width="200" height="61"></div>
<div class="ligas">
<ul>
<li> </li>
</ul>
</div>
</div>
<div class="col-2">
<?php
//inicia la consulta para los cargadores de llantas
include ('conexion.php');
$link = ConectarseBD();
//recuperar el nombre da la categoria de la pagina de inventario
$categoria = $_REQUEST[categoria];
// validar el nombre de la categoria en la tabla de en base al id traido de la pagina de inventario
$qry =mysql_query( "SELECT name FROM categories where id = $categoria");
$resultato =mysql_fetch_assoc ($qry);
?>
<div class="contend-section">
<div class="path">
<table align="right" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="20" align="center"><img src="img/bineta_path.jpg" width="13" height="13"></td>
<td> </td>
<td>Estás en: Principal / Categorias / <?php echo $resultato["name"]; ?></td>
</tr>
</table>
</div>
<div class="clear"></div>
<div align="right" style="padding-top:3px;"><img src="img/cintilla.jpg" width="600" height="2"></div>
<div style="background-image: url(img/title_bg32.jpg); background-repeat:repeat-x; height:37px;">
<div style="background-color:#FE0000; float:left; padding:11px 10px 10px 10px; margin-top:1px; color:#FFF; font-weight:bold;"><?php echo $resultato["name"]; ?></div><img src="img/title_bg2.jpg" width="21" height="37">
</div>
<div class="wrapper-contend">
<?php
//inicia la consulta para los cargadores de llantas
// include ('conexion.php');
// $link = ConectarseBD();
$consulta = mysql_query("SELECT `id_maquina`, `site`, `inv`, `mark`, `model`, `num_set`, `description`, `years`, `dlls`, `economic_number`, `category`, `picture_1`, `video_1`, `creation_by`, `creation_date`, `last_update_by`,
`last_update_date` FROM `inventory_machinery`
WHERE category = '$categoria'");
$filas = mysql_num_rows ($consulta); // se obtienen lso regitros
?>
<?php while ($row = mysql_fetch_array($result));
echo "<p>$filas Items</p>";
?>
<?php while ($fila = mysql_fetch_assoc($consulta)) {?>
<!-- Inicia el siclo foreach -->
<?php include ('category_products.inc.php'); ?>
<?php }?>
<?php while ($row = mysql_fetch_array($result));
echo "<p>$filas Items</p>";
?>
</div>
</div>
</div>
<div class="clear"></div>
</div>
<div style="padding:10px 0; font-weight:bold;" align="center"><a href="javascript:history.back()">Regresar</a></div>
</div>
</div>
<div id="footer"> </div>
</body>
</html>
Saludos y gracias
