What is the best way to delete empty input fields, should I use php or javascript or another language?
In the script the user can fill 3 or 5 input fields in the browser by html.
The data will be stored in the database. But empty fields shouldnt be stored.
Finally I also want to stop other crappy input, like mistakes etc.
Im not sure which language is used for this matter. Is it possible to use php or is javascript better?
My first focus is deleting empty input fields.