[eluser]Unknown[/eluser]
mysql table:
1. users:
id_user
id_group
...
2. users_group
id_group
group_name
..
i wanna check that id_group is ID, which rule should i use for security better.
i have used 'is_natural' rule before, but i see others using native 'intval' orr 'ctype_digit' to check that it is intger.
i will also using callback to check it before confirm 'id_group ' is correct input.
thx for help , and sry my poor english