Ver Mensaje Individual
  #5 (permalink)  
Antiguo 27/03/2014, 08:52
Avatar de evolutionrgm
evolutionrgm
 
Fecha de Ingreso: mayo-2011
Mensajes: 108
Antigüedad: 13 años
Puntos: 5
Respuesta: Alerta en php

lo que quieres realizar es lo siguiente

Código MySQL:
Ver original
  1. $sq1=select * from desembolso where estado ="0";
  2.  $res1=mysqli_query($conexion,$sq1);
  3.  $row1 = mysqli_fetch_assoc($res1);
  4.   $var = $row1['id_desembolso'];

Código PHP:
Ver original
  1. echo "<script>alert('Su cod es el siguiente $var');location.href='tuformulario.php'</script>";