This commit is contained in:
2022-08-12 21:37:05 -04:00
parent ea4f941637
commit 6abcd937c2
3 changed files with 96 additions and 40 deletions
+15
View File
@@ -152,6 +152,21 @@ class Job_model extends CI_Model {
return $out;
}
public function getComboJobListOrdered($member_id, $list_limit){
/*
*SELECT uid,title FROM members_jobs WHERE status = 1 AND member_id = 1 ORDER BY title ASC LIMIT 100;
uid | title
--------------------------------------+----------------------------------------------------------------------------------
f13c2850-d1a4-4c87-be03-5fcd18a0643a | Another 2 days job
01d9da51-8290-46aa-902c-279203b9b85f | ChiefSoftWorks
00ce0c85-17c2-49f8-86e0-4c8ce70540a0 | Control Selected GPIO Pin on a Raspberry Pi Raspberry Pi 3
0c17f4f0-a2c2-449e-8b5c-61b1ac3eeeea | Different Screen,15 and 5 different Email Subject Capture
*/
$mysql = "SELECT uid,title FROM members_jobs WHERE status = 1 AND member_id = " . $member_id . " ORDER BY title ASC LIMIT ".$list_limit;
$query = $this->db->query($mysql);
return $query->result_array();
}
public function readMyloadJobOffer($member_id, $offer_code) {
$out = array();
$out['result'] = 0;