Posts

Showing posts from October, 2024

Read both tables records by INNER JOIN in php

Image
  <?php $servername = "localhost" ; $username = "root" ; $password = "" ; $database = "studenttwo" ; // Create Connection $conn = new mysqli ( $servername , $username , $password , $database ); // Check Connection if ( $conn -> connect_error ) {     die ( "Connection failed : " . $conn -> connect_error ); } Above File is mysqli_conn.php File. Below File is read.php File. <! DOCTYPE html > < html lang = "en" > < head >     < meta charset = "UTF-8" >     < meta name = "viewport" content = "width=device-width, initial-scale=1.0, shrink-to-fit=no" >     < meta http-equiv = "X-UA-Compatible" content = "ie=edge" >     < title > PHP Table </ title > </ head > < body >     < table border = "1px solid black" cellpadding = "5px" cellspacing = "2px" >         < tr...