How to find a the username to connect to the database

It is not writing into the database though…

I am really stucked here… I have done a separate test and my database is working but can’t get it to work with the following code:

I have a 403 error while pasting my code

Is this a problem with a header?

I thought that all errors should be in the error log but apparently I needed to add these codes:

ini_set('error_reporting', E_ALL);
ini_set('display_errors', 'On');  //On or Off

Is there a way to turn on all error reporting in Cpanel?

Also, this is interesting... I am always getting a warning about session already sent but I needed to include session in my header2.php file and the code is as follows:

<?php 
session_start();


    


?>

I also have this warning in my signup2.php file but I never included a session there, just the header2.php file only. 

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.