How can i insert data from a html form to a table in Joomla database.
Sample code of the form:
Name : <input type="textbox" name="username">
Selection1 : <input type="checkbox" name="choice1" value="first">
Selection2 :<input type="checkbox" name="choice2" value="second">
Selection3: <input type="checkbox" name="choice3" value="third">
<input type="submit" value="submit" action="save_to_joomla_database.php"></form>
What's the script i need to write in save_to_joomla_database.php
which will store the data in any specific table of the Joomla database?