Chikwado Posted September 25, 2015 Share Posted September 25, 2015 Is it possible to use constant instead of variable in prepare statement for Example: define("HOST","localhost"); define("USER","root"); define("PASSWORD","password"); some one help. Link to comment Share on other sites More sharing options...
Ingolme Posted September 25, 2015 Share Posted September 25, 2015 You can use constants for the MySQL connection. All that matters is that the values are correct. Link to comment Share on other sites More sharing options...
thescientist Posted September 30, 2015 Share Posted September 30, 2015 did you try it out and see? 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