Friday 5 October 2018

PHP CODE SNIPPET FOR DATABASE CONNECTION

To store data, you would need a database. In this case we would be using MySQL database.
In the highlighted lines above, you would have to specify your own server database details.
You can save the above file as config.php and you would have to include that file in all pages where you need database connectivity.

0 comments:

Post a Comment