Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/04/2016, 08:12
Avatar de aviweb2015
aviweb2015
 
Fecha de Ingreso: abril-2016
Ubicación: venezuela
Mensajes: 215
Antigüedad: 8 años
Puntos: 1
Respuesta: problemas en inventario

bueno no estaba el cierre de etiqueta y la he puesto pero igual sigue el problema

Código PHP:
Ver original
  1. <?php
  2. $resultado=mysql_query("SELECT * FROM servicios GROUP BY id");
  3.  
  4. echo "<table  class='striped responsive-table'>";
  5. echo "<tr>";
  6. echo "<th data-field='id' style='display:none'>Id</th>";
  7. echo "<th data-field='id'>Categias</th>";
  8. echo "<th data-field='id'>Producto</th>";
  9. echo "<th data-field='id'>Precio</th>";
  10. echo "<th data-field='id'>Imagen</th>";
  11. echo "<th data-field='id'>Agregar</th>";
  12. echo "</tr>";
  13. echo "<tr>";
  14.  
  15. while ($servicios = mysql_fetch_array($resultado)){
  16.  
  17. echo "<td style='display:none'>".$servicios['id']."</td>";
  18. echo "<td>".$servicios['idproductos']."</td>";
  19. echo "<td>".$servicios['descripcion']."</td>";
  20. echo "<td>".$servicios['precio']." BsF </td>";
  21. echo "<td><img src=".$servicios['imagen']." width='70' height='70'></td>";
  22. echo "<td>
  23. <a href='preparo_contrato.php?id=".$servicios['id']."&action=";
  24. if (isset($_SESSION['carro'][$servicios['id']])){
  25.  
  26. echo "removeProd' alt='Eliminar del carro'>
  27. <img src='img/remove_carro.png'
  28. width='38' height='38'
  29. alt='Eliminar del carro'
  30. title='Añadir producto al carrito'>";
  31. }
  32. else
  33. echo "add' alt='Añadir al carro'>
  34. <img src='img/add_carro.png'
  35. width='38' height='38' alt='Añadir al carrito'
  36. title='Añadir producto al carrito'>";
  37.  
  38.  
  39. echo "</a></tr>";
  40. }
  41. echo "</table>";
  42. ?>


esto me va a matar
__________________
yoclens avilan