I have problem to echo from two tables from the database. How to select two tables from database with has condition?
<?php session_start();
$con=mysql_connect("localhost","root","");
$db=mysql_select_db("fyp2", $con);
$username=$_SESSION['username'];
$query="SELECT * FROM customer WHERE username='$username'";
$result=mysql_query($query);
$row=mysql_fetch_array($result);
?>
In this situation, only one table can display, another table that i has insert it display no output.