Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include('include/config.inc.php');
- include('include/menu.php');
- session_start();
- $sql_certificato = "UPDATE r005 SET stato_validazione = '2' where stato_validazione is null";
- $result_certificato = mysql_query($sql_certificato);
- // while ($row_certificato = mysql_fetch_assoc($result_certificato)) {
- // echo $id_operatore = $row_certificato['id_operatore'];
- // echo "<br>";
- // $select_last = "SELECT * FROM r005 where id_operatore = '$id_operatore' order by numero_r005 desc";
- // $result_last = mysql_query($select_last);
- // $row_last = mysql_fetch_assoc($result_last);
- // echo $num_rows = mysql_num_rows($row_last);
- // echo $row_last['numero_r005'];
- // $id_r005 = $row_last['id_r005'];
- // echo "<br>";
- // //if($num_rows > 1)
- // echo $update = "UPDATE r005 SET stato_validazione = '1' where id_r005 = '$id_r005' ";
- // $result_r005 = mysql_query($update);
- // }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement