I have been doing some searches on google and realize i have to put mysql database username and password in a file using a .htaccess: The problem is how do i do that? some say place it in external folder not in web root. How can I also request the details i sent to database on another page, (Like show it on another page) maybe in a div. (Dunno).
Please I need a comprehensive guide. Most importantly secure connection to db. A php script that sends the information to db. Request the info back and showed in a div. Thanks in advance