Código PHP:
$consultaRS= "SELECT * FROM tbuzon where ds_t_actv='CONFIGURACION DEL SERVICIO'";
$resultadoRS = mysql_query($consultaRS, $conexion)or die (mysql_error());
while($row= mysql_fetch_array($resultadoRS)) {
$solconf=$row['nu_solc_intr'];
$actconf=$row['ds_confg'];
$activ=$row['ds_t_actv'];
$consultaR = "SELECT * FROM tuso where cDetalle='$actconf'";
$resultadoR = mysql_query($consultaR, $conexion);
while($row= mysql_fetch_array($resultadoR)) {
$uso=$row['cCod_Ciclo'];
if ($uso='2'){
$asign="UPDATE tbuzon SET t_actor='1020' && cCod_Uso='2' where nu_solc_intr='$solconf'";
} else if ($uso='3'){
$asign1="UPDATE tbuzon SET t_actor='1017' && cCod_Uso='3' where nu_solc_intr='$solconf'";
}else{
$asign2="UPDATE tbuzon SET t_actor='1053' && cCod_Uso='4' where nu_solc_intr='$solconf'";
}
}
}