PHP-Programmierer chatten hier
Anonymous
Codesigniter $ this-> db-> Wie ist Fall sensibel [Duplikat]
Post
by Anonymous » 16 Apr 2025, 08:05
Hier ist der Code. < /p>
Code: Select all
function get_autoComplete($tbl, $data, $field, $value, $where='',$group_by=false,$limit=''){
$this->db->select($data);
$this->db->from($tbl);
if($where!=''){
$this->db->where($where);
}
$this->db->like($field, $value);
if($group_by == true){
$this->db->group_by($field);
}
if($limit !='')
{
$this->db->limit($limit);
}
$query=$this->db->get();
return $query->result();
}
< /code>
In der zweiten Auswahlanweisung scheint es, als ob ($ field, $ value) < /code> Fall empfindlich ist.$this->db->like($field, $value);
1744783548
Anonymous
Hier ist der Code. < /p> [code]function get_autoComplete($tbl, $data, $field, $value, $where='',$group_by=false,$limit=''){ $this->db->select($data); $this->db->from($tbl); if($where!=''){ $this->db->where($where); } $this->db->like($field, $value); if($group_by == true){ $this->db->group_by($field); } if($limit !='') { $this->db->limit($limit); } $query=$this->db->get(); return $query->result(); } < /code> In der zweiten Auswahlanweisung scheint es, als ob ($ field, $ value) < /code> Fall empfindlich ist.$this->db->like($field, $value); [/code]
0 Replies
23 Views
Last post by Anonymous
24 Dec 2024, 09:53
0 Replies
8 Views
Last post by Anonymous
05 Mar 2025, 14:13
0 Replies
7 Views
Last post by Anonymous
16 Apr 2025, 08:04
0 Replies
15 Views
Last post by Guest
24 Dec 2024, 10:49
Ist "k" in diesem Fall eine Variable?
by
Guest »
07 Feb 2025, 00:26 » in
Java
In der folgenden Frage wird nur eine Variable n verwendet:
Angegebene int variable n Dies wurde bereits deklariert und
zu einem positiven Wert initialisiert. Verwenden Sie eine while -Schleife, um...
0 Replies
14 Views
Last post by Guest
07 Feb 2025, 00:26