- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
// большой кусок кода
$where = '';
if (strlen($data["name"])) {
$where = $where . " AND name = '" . $data["name"] . "'";
}
if (strlen($data["company"])) {
$where = $where . " AND company = '" . $data["company"] . "'";
}
if (strlen($data["status"])) {
$where = $where . " AND status = '" . $data["status"] . "'";
}
// большой кусок кода
guest 25.09.2015 17:56 # +1