<?php
	
			//Set database login parameters
			define('HOST', 'localhost');
			define('DB_USERNAME', 'my_username');
			define('DB_PASSWORD', 'my_password');
			define('DATABASE_NAME', 'my_database');
			
			//Set table & column names containing the required information (usernames, email addresses, passwords)
			define('TABLE_OF_USERS', 'my_table_name');
			define('COLUMN_OF_USERS', 'column_name');
			define('COLUMN_OF_EMAILS', 'column_name');
			define('COLUMN_OF_PASSWORDS', 'column_name');
			
?>
<?php
	       
			//Set database login parameters
			define('HOST', 'localhost');
			define('DB_USERNAME', 'my_username');
			define('DB_PASSWORD', 'my_password');
			define('DATABASE_NAME', 'my_database');
			
			//Set table & column names containing the required information (usernames, email addresses, passwords)
			define('TABLE_OF_USERS', 'my_table_name');
			define('COLUMN_OF_USERS', 'column_name');
			define('COLUMN_OF_PASSWORDS', 'column_name');
  
			
?>
Remove email parameter. The email address will be used to login, $username will be the email address, so no need for a separate $email variable
Remove email parameter. The email address will be used to login, $username will be the email address, so no need for a separate $email variable
