PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am using a form to collect some info and then upload two files, the info is then submitted to the DB and the files uploaded.
How would I go about validating the fields of the form but, not entering the info to the DB or uploading the files until all compulsory fields are valid.
Does anyone have a class or link to some example code that I can use, or change for my own needs.