Jump to content

storing db login info in include file removes _ from db name


project3

Recommended Posts

I have a cpanel db and it is in the form of user_dbname

so i have the db login info in a include file. $db = "user_dbname";

 

when i call $db from main script it removes right after user with no _dbname.

if I move $db = "user_dbname"; into the script it works just fine.

 

why is the _dbname being removed?

 

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.