VoodooJai Posted March 28, 2011 Share Posted March 28, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/231985-using-the-underscore-in-a-define-function/ Share on other sites More sharing options...
trq Posted March 28, 2011 Share Posted March 28, 2011 Just like the example shows. What is the issue? Quote Link to comment https://forums.phpfreaks.com/topic/231985-using-the-underscore-in-a-define-function/#findComment-1193420 Share on other sites More sharing options...
VoodooJai Posted March 28, 2011 Author Share Posted March 28, 2011 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. Quote Link to comment https://forums.phpfreaks.com/topic/231985-using-the-underscore-in-a-define-function/#findComment-1193428 Share on other sites More sharing options...
trq Posted March 28, 2011 Share Posted March 28, 2011 "the code changes to yellow" means nothing to me. Maybe it's an issue with your editor, there is nothing wrong with the code. Quote Link to comment https://forums.phpfreaks.com/topic/231985-using-the-underscore-in-a-define-function/#findComment-1193430 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.