I am trying to fetch some database details from wp-config.php file. Unfortunately I stick on the part where I have the line that contains the DB_NAME and I could not extract the database_name only from the following:
define('DB_NAME', 'database_name');
Help is much appreciated!