Help Me/Question How To Establish Link Between Webpages And Database Using Php ?

steve taylor

White Belt
I develop a website in which there are some field like email , mobile no , name are there I want to store these values when these field values entered by users . I wan to know about some good books which elaborate concept with the help of some example . also suggest me some online source where we learn PHP concept in detail with practical approach.


White Belt
You can establish connection between your webpage and Php with MYsql or SQL developer.
First of all You need to make a form that means make a html form page.
After that create connection between html and sql developer or MySQL using by PHP.
$servername = "localhost";
$username = "username";
$password = "password";
$conn = new mysqli($servername, $username, $password);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
echo "Connected successfully";

You also take reference from w3schools.