I have a Survey form. Every question has 3-4 pre-defined answers as radio buttons. The value of a radio button is the primary key of the answer in the database.
As all answers to all questions are stored in one table, if a user increments the value, the ID may still be a valid foreign key, but it does not belong to that question.
What's the best practice to be sure the value of the radio button is not manipulated?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2jl1isF
via IFTTT
Aucun commentaire:
Enregistrer un commentaire