Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
4
Reply
error in databse connection
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Hema Sundar
8y
429
1
Reply
<?php
$servername = "localhost";
$username = "madhuri_abc";
$password = "happy123";
$dbname = "madhuri_789";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
?>
this is my code it was workin in local host but not working in real time . Guys pls hepl me im begineer in php
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
automatic filter of search using checkbox
create data base table dynamicaly on server in php