SELECT
drs.rs_type,
GROUP_CONCAT(drs.rs_percent ORDER BY drs.rs_percent ASC) AS percents
FROM db_ref_system drs
GROUP BY drs.rs_type
ORDER BY drs.id
if (isset($name) && isset($email) && isset($subject) && isset($body)) { …
?if (isset($_POST['name'])) {
$name = trim($_POST['name']);
}
…
if (!empty($name) && !empty($email) && !empty($subject) && !empty($body)) {
…