Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. <fieldset class="cabezal">
  2. <br>
  3. <input type="Checkbox" name="Checkbox1" id="Checkbox1" value="1">
  4. <label class="INSPECCIONES">CARROCERIA/CAPOT</label>
  5. <input type="text" id="prioridad1" name="prioridad1" placeholder="prioridad" class="prioridad" onkeypress="return unoaltres(event)" onchange="return return unoaltres(event);"
  6. onKeyUp="validar_prioridad_color('prioridad1');return limitar('prioridad1',1)" onKeyDown="return limitar('prioridad1',1)" value="<?php echo $varprioridad1?>" >
  7.  
  8. <input type="text" id="comentario1" name="comentario1" placeholder="comentario" class="comentario" value="<?php echo $varcomentario1?>">
  9. </body>
  10. </html>
  11.  
  12. if (isset($_POST['codigo']))
  13. {
  14. $codigo=$_POST['codigo'];
  15. /*echo $licencia;*/
  16. }
  17.  
  18. while ($codigoid = mysqli_fetch_array($sql))
  19. $ccc=$codigoid['insp_codigo'];
  20.  
  21. if($ccc<1){
  22. echo "<script> alert('no hay registro de la inspeccion');</script>";
  23.  
  24. }
  25. else
  26. {
  27. $sql=mysqli_query($mysqli,"SELECT * FROM `inspecciones` where insp_estado=1 and insp_placa='$placa' and insp_detalle='$l1' ");
  28.  
  29. $res=($sql);
  30. while ($resul=mysqli_fetch_array($res)){
  31. $varplaca=$resul[3];
  32. $Checkbox1=$resul[7];
  33. $varprioridad1=$resul[9];
  34. $varcomentario1=$resul[10];
  35.  
  36.  
  37. # code...
  38. }
  39.  
  40. if ($Checkbox1=="1"){
  41. $Checkbox1=="$Checkbox1.cheked";
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement