My website is vishalkumar.000webhostapp.com and tried with this code
$db_host = "localhost"; //hostname
$db_user = "xyz"; // username
$db_password = "xyz"; // password
$db_name = "xyzl"; //database name
So need to being able to connect with this host name localhost, its givin[quote=“James, post:4, topic:40460, full:true”]
What is your site?
g 500 server error