test1.php 360 B

1234567891011121314151617
  1. Esto es un div
  2. <?
  3. include('db.php');
  4. $statement = $db->prepare("SELECT `nombre` FROM `productos` WHERE `categoria` = ?");
  5. $cat = 'FACIALES';
  6. $statement->bind_param('s', $cat);
  7. $statement->execute();
  8. $statement->bind_result($nombre);
  9. while($statement->fetch()){
  10. echo "<b>hola que tal</b>";
  11. echo "$nombre <br />";
  12. }
  13. ?>
  14. aca termina mi div