Skip to content Skip to sidebar Skip to footer

Use Of Undefined Constant Db_user - Assumed 'db_user'

I get this error when I try to submit data. This is the code in db_config.php This is the original page from where am submitting the data (index.php) What do you think am missin

Solution 1:

If you look at the official documentation you need to use quotes to define the constants.

So instead of define(DB_USER, "something") it should be define("DB_USER", "something").

Post a Comment for "Use Of Undefined Constant Db_user - Assumed 'db_user'"