tati 12 лет назад
Родитель
Сommit
6e9b5745f4
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Productos.php

+ 2 - 2
Productos.php

@@ -1,7 +1,7 @@
 <?
 include('db.php');
 
-$statement = $db->prepare("SELECT `nombre` FROM `productos` WHERE `categoria` = ? limit 7");
+$statement = $db->prepare("SELECT `nombre` FROM `productos` WHERE `categoria` = ? limit 6");
 $cat = 'FACIALES';
 $statement->bind_param('s', $cat);
 $statement->execute();
@@ -78,7 +78,7 @@ $statement->bind_result($nombre);
                         </div>
                     </div>
 					<? 
-						if (i!=3) {
+						if ($i!=3) {
 							if (!$statement->fetch()) { break; }
 						}
 					} //while $i %3 && st-fetch