$code
is useless, just use $_POST
if(!empty($_POST['code'])){
$param[':code'] = strtoupper($_POST['code']);
$sql .= 'AND `code` = :code';
}
1
solved strtoupper isn’t working in my code [closed]
$code
is useless, just use $_POST
if(!empty($_POST['code'])){
$param[':code'] = strtoupper($_POST['code']);
$sql .= 'AND `code` = :code';
}
1
solved strtoupper isn’t working in my code [closed]