$_GET[id];
$id=(int)$_GET['id'];
mysql store - int
I have a question about convert string into integer.
(Convert post id to make sure user don't send string)
and mysql store type - int
I notice if the id is bigger than 2147483647, the number become crazy.
what if website posts are more than 2147483647?
is any way to convert it into bigint? or I shouldn't convert string into int?
Do I have change mysql store type to - bigint?