ID of POST, GET, COOKIE or SESSION - Validation
Copy this code and paste it in your HTML
$id = abs(intval($id)); // only positiv and complete id's
return false;
}
$id = 3; // return true
$id = [] // return false
$id = '' // return false
Report this snippet
Comments
Subscribe to comments