Ver Mensaje Individual
  #5 (permalink)  
Antiguo 25/12/2007, 14:14
o2kr
 
Fecha de Ingreso: diciembre-2007
Mensajes: 15
Antigüedad: 17 años, 2 meses
Puntos: 0
Re: Problema Formato Rut y Funcion

algo asi tambien habia pensado pero no funka falta algo nose .... HELPME :P

Código PHP:
<input name="si" type="button" value="<? echo $resp=1 ?>">
<input name="no" type="button" value="<? echo $resp=2 ?>">
<?php
if($resp == 1){
$query ="UPDATE cliente SET  PTOS='$puntos' WHERE RUT = '$rut2'"
$result mysql_query($query,$dbc);
}else if( 
$resp == 2){
$delay "0"
$url "/local/in_puntaje.php";
echo 
'<meta http-equiv="refresh" content="'.$delay.';url='.$url.'">';
}