There is a function in which data from the post request is filtered. How to transfer to this function the post itself array and correctly call the function?
function postData(){ $text = filterData($_POST['text'], 'string'); $link = filterData($_POST['link'], 'link'); $date = filterData($_POST['date'], 'date'); }
$data = postData($_POST);- xenonfilter_inputfunction. In general, look towards theroute. - And