Question: MySQL and PHP question Why wont my select output on my webpage? Webpage and tables are below webpage BEST Cars
MySQL and PHP question
Why wont my select output on my webpage?
Webpage and tables are below
webpage
$user='root'; $pass='passx'; $host='localhost'; $db='cardb'; $conn=mysqli_connect ($host,$user,$pass,$db); $result=mysqli_query
($conn,'select Car_ID, Car_Name, count(*) as Top 5 Cars from Sales as s inner join Cars as c on s.car_Sales_ID = c.car_ID group by Car_ID, Car_Name order by count(*) desc limit 5'); ?>
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
