application/models/mobile_api/Common_model.php
/*function for make sure the  shortlisted property id exists*/
function for make sure the  shortlisted property id exists
function for make sure the shortlisted property id exists
public function shortlisted_property_check($shortlistedId)
    {
        $sql1 = "SELECT shortlistedId FROM shortlistedproperty WHERE shortlistedId ='".$shortlistedId."'";
        $record = $this->db->query($sql1);
        if ($record->num_rows()>0) {
            return true;
        }   
    }
public function shortlisted_property_check ( $ shortlistedId ) { $ sql1 = " SELECT shortlistedId FROM shortlistedproperty WHERE shortlistedId =' " . $ shortlistedId . " ' " ; $ record = $ this -> db -> query ( $ sql1 ) ; if ( $ record -> num_rows ( ) > 0 ) { return true ; } }
function for make sure the  shortlisted property id exists
function for make sure the shortlisted property id exists