the username and database name almost always have a prefix that I'm not seeing in your code.
Usually it's the sign in ID to create a mysql database. So if I sign into my host with 'malexander'
then my username would be 'malexander_admblogdetailzus'.
The database name would be 'malexander_dbuser'.
Hence you would write $user="malexander_admblogdetailzus";
$db="malexander_dbuser";
|