I am trying to retrieve the values stored in my database when the user selects the data from the selection list and also i am using 2 radio buttons, when 1st radio button is checked. When 1st radio button is checked , get the data from table1 and if the 2nd radio button selected get the data from table2. How can i do it?
Please somebody help me.
HTML:
PHP:
By using the lookup table
$tables, the user input is effectively sanitised because it is never used directly in a query.