Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once './connect.php';
- if (isset($_POST['savewater']))
- $wid = $_POST['wid'];
- $newnum = $_POST['newnum'];
- $val = count($wid);
- for ($i = 0 ; $i < $val ; $i++) {
- // $sql = "INSERT into rooms (new_number) VALUES ($newnu) WHERE id = '$wid'";
- echo "INSERT into rooms (new_numbers) VALUES ($newnum[$i]) WHERE id = '$wid[$i]' " .'<br>';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement