How to enter and retrieve data from mysql database.