| 12345678910111213141516171819202122232425 |
- <?php
- require('auth-validate.php');
- require('db.php');
- $id_user = $_SESSION['id_user'];
- $id_file_row = isset($_REQUEST['id_file_row']) ? $_REQUEST['id_file_row'] : null;
- $key = isset($_REQUEST['key']) ? $_REQUEST['key'] : null;
- $value = isset($_REQUEST['value']) ? $_REQUEST['value'] : null;
- $stmt_file = $dbh->prepare(
- "INSERT INTO file_row_update (id_file_row, key, value, id_user)
- VALUES(:id_file_row, :key, :value, :id_user)";
-
- $stmt_file->execute();
- $rows = $stmt_file->fetchAll(PDO::FETCH_ASSOC);
- echo 'OK';
- ?>
|