Chikwado Posted December 19, 2015 Share Posted December 19, 2015 (edited) In my server default setting mysqli has empty hsotname and username with empty password. how to add value to replace those field, especially hostname username password. I use to write the following command to view it <?php echo phpinfo(); ?> And I can see that the values are all empty field. Some one help. Edited December 19, 2015 by Chikwado Link to comment Share on other sites More sharing options...
justsomeguy Posted January 4, 2016 Share Posted January 4, 2016 You should specify the host, username, and password when you connect to MySQL so that your code doesn't depend on PHP settings. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now