Welcome to WebmasterServe!

FREE TO JOIN! Join us now to engage in informative and friendly discussions about Webmastering, SEO, SEM, Internet Marketing, Programming, Graphic Design, Online Jobs and more. What are you waiting for? Ready to join our friendly community? It takes just one minute to register.

Dismiss Notice

Join WebmasterServe Forums 
Join the discussion! Have a better idea or an opinion? It takes just one minute to register Click Here to Join

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

Discussion in 'PHP Programming' started by steve taylor, Feb 16, 2016.

  1. steve taylor

    Yellow Belt

    Feb 12, 2016
    +25 / -0
    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.

    Yellow Belt

    Feb 13, 2016
    +20 / -0
    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.

Share This Page