Hi,
I have build a system using php to add to the database by calling files containing all the relevant sql and mysql methods etc.
I would like to use javascript before the data is entered into the database as it looks a better approach, but I would like to keep my php code to add to the database.
Is there any way that I can perform a javascript function on a button click which in turn can cause the form to action the php?