Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once 'session.php';
- require_once '../include/connect.php';
- for ($i = 0; $i < $_SESSION['file']; $i++)
- {
- if(!mysqli_query($db, "UPDATE `imagenes` SET `descripcion`= '".$_POST['descripcion']."' WHERE `tid`= '".$_SESSION['lid']."'"))
- {
- echo mysqli_error($db);
- }
- else
- {
- echo "success!";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment