Jump to content

Using the underscore in a define function


VoodooJai

Recommended Posts

I would like to know how to use an underscore in a define function like this example below.

 

/** The name of the database for WordPress */
define('DB_NAME', 'Database_name');

/** MySQL database username */
define('DB_USER', 'User_name');

/** MySQL database password */
define('DB_PASSWORD', 'password_here');

/** MySQL hostname */
define('DB_HOST', 'Dtabase_host');

 

Any help appreciated and thanks in advance.

I thought that to, but when I change the values from

 

/** The name of the database for WordPress */
define('DB_NAME', 'Databasename');

/** MySQL database username */
define('DB_USER', 'Username');

/** MySQL database password */
define('DB_PASSWORD', 'passwordhere');

/** MySQL hostname */
define('DB_HOST', 'Dtabasehost');

 

to this

/** The name of the database for WordPress */

define('DB_NAME', 'Database_name');

 

/** MySQL database username */

define('DB_USER', 'User_name');

 

/** MySQL database password */

define('DB_PASSWORD', 'password_here');

 

/** MySQL hostname */

define('DB_HOST', 'Dtabase_host');

 

the code changes to yellow.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.