edit.php 492 B

1234567891011121314151617
  1. <?php
  2. $http_host = $_SERVER['HTTP_HOST'];
  3. include("../../functions.php");
  4. $con = startdb();
  5. if (!checkSession($con)){
  6. header("Location: /index.php");
  7. exit (-1);
  8. }
  9. else{
  10. $id = mysqli_real_escape_string($con, $_GET['id']);
  11. $column = mysqli_real_escape_string($con, $_GET['column']);
  12. $type = mysqli_real_escape_string($con, $_GET['type']);
  13. $value = mysqli_real_escape_string($con, $_GET['value']);
  14. //TODO
  15. }
  16. ?>