hello guys how are you today i am not good with function so i want to ask a question how can i do that by function i have tried but i am Failure also how can i protect the input by this way by using mysql_real_esacpe,strip_tags ....
$getidtopic=$_GET['id_topic'];
function isint (){
global $getidtopic;
if (!is_int($getidtopic)){
return true;
}else if (is_int($getidtopic)) {
return false;
}
}