$Value1 = 1; $Value2 = 2; $this->db->select("Link,Title"); $this->db->from("imagelink_table"); $this->db->where("ImageID = '$Value1'"); //$this->db->where("ImageID = '$Value2'"); $query = $this->db->get();
$this->db->where("ImageID = '$Value1' or ImageID = '$Value2'");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)