fix
This commit is contained in:
@@ -26,4 +26,19 @@ class Practice_model extends CI_Model {
|
||||
return $query = $this->db->query($mysql);
|
||||
}
|
||||
|
||||
/*
|
||||
mermsemr_dev=> SELECT * FROM practice_pending WHERE id = 1 AND status = 1;
|
||||
id | firstname | lastname | practice_name | email | username | password | status | added | loc
|
||||
----+-----------+----------+---------------+---------------------+----------+----------+--------+----------------------------+-----------
|
||||
1 | Olu | Amey | Testing | works@chiefsoft.com | ses66181 | | 1 | 2020-12-19 10:40:57.740114 | 10.0.0.15
|
||||
(1 row)
|
||||
*/
|
||||
|
||||
public function loadPendingPractice($pending_practice_id) {
|
||||
$data = [];
|
||||
$mysql = "SELECT * FROM practice_pending WHERE id = $pending_practice_id AND status = 1";
|
||||
$data = $this->db->query($mysql)->result_array();
|
||||
return $data[0];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user