HEX
Server: Apache
System: Linux infong-uk86 4.4.400-icpu-106 #2 SMP Mon Sep 15 08:23:40 UTC 2025 x86_64
User: u44115835 (4976590)
PHP: 8.4.17
Disabled: NONE
Upload Files
File: /homepages/29/d194883696/htdocs/firstnetworking/models/Model.php
<?php
  /**
   * Model For Temp: Blog Style
   */
  class Model
  {

    protected $db;

    function __construct()
    {
      $this->db = new Database;
    }

    public function query($tableName, $where){
      $query = "SELECT * FROM ". $tableName . " WHERE ". $where;
      $stmt = $this->db->prepare($query);
      $stmt->execute();

      return $stmt;

    }
  }

?>