<?php include_once '../dao/base_dao.php'; try { $access = new DAO(); echo $access->get_customer_list(); } catch (PDOException $e) { echo $e->getMessage(); }
<?php include_once '../dao/base_dao.php'; try { $key = $_POST["key"]; $access = new DAO(); echo $access->get_customer_list($key); } catch (PDOException $e) { echo $e->getMessage(); }