I have a form that has 4 single text input fields
InputA, InputB, InputC, InputD
When user click on submit, I want to use dynamic SQL statement to insert these 4 input into 4 different tables. So inputA will go to tableA, InputB goes to TableB, InputC goes to TableC ,etc.
However, I want to check if any input field is empty (null) then skip that table and move on the next input
Can someone give me an idea how to do this?
Thanks