Learning PHP and MySQL

Example 13-8 The database login details

<?php
$db_host
='localhost';
$db_database='test';
$db_username='test';
$db_password='yourpass';
?>

Posted by on 09/25 at 11:31 AM

Next entry: Example 13-9 Verifying a username and password against the database

Previous entry: Example 13-7 Creating the entry in the database for a user with an encrypted password

<< Back to main