+ 5
Santhosh Kumar hi for interaction with back-end database php is used which is an server side programming language used to fetch data from server and sent them to respective client who has requested for data by making query by typing text on front end You have to Just make the connection code between html and php for maintaining the server and client connection from front end to back end for retrieval of data and fetching of data . You can do this by this ways <?php $localhost = "127.0.0.1"; $username = "root"; $password = ""; $dbname = "project"; // db connection $connect = new mysqli($localhost, $username, $password, $dbname); // check connection if($connect->connect_error) { die("Connection Failed : " . $connect->connect_error); } else { // echo "Successfully connected"; } ?> this way you can connect front end html with back-end php for maintaining data communication between front and back-end and if you have any further query ping me I'll loved to help have these 🍎 🍎 🍎 🍎 🍎 🍎
29th May 2019, 5:58 AM
DishaAhuja
DishaAhuja - avatar