Question about column item in Ajax voting script
Posted: 09 Feb 2016, 00:45
Hi
I have 1 little question about your Ajax voting script ( https://coursesweb.net/php-mysql/voting- ... pt-ajax_s2 )
I use only "vot_plus", you are maked in table `votusers` the column `item` (varchar 200) where is put item in this form:
vt_<number/id>
This form of put id is for some protection?
Why you are not used simple number/id column int?
If i will change to simple number/id is not nothing bad in protection?
Thanks
I have 1 little question about your Ajax voting script ( https://coursesweb.net/php-mysql/voting- ... pt-ajax_s2 )
I use only "vot_plus", you are maked in table `votusers` the column `item` (varchar 200) where is put item in this form:
vt_<number/id>
This form of put id is for some protection?
Why you are not used simple number/id column int?
If i will change to simple number/id is not nothing bad in protection?
Thanks