My failed attempt:
$post_id = preg_match("/^[0-9]+$/", $_POST['post_id']);
I tried to be a user who changed the post id for example: post_id="43223646", but when the data is entered in mysql, they are transformed into the number 1, how...
asked by
27.04.2015 / 13:44