$results = $mysqli->query("SELECT product_name,price FROM herbs an WHERE product_code='$product_code' LIMIT 1");
$obj = $results->fetch_object();
This is my code I want to get the two table form the database which is "herbs" and "fruits" and update my shopping cart.
How can I select two table product_name, price from two independent tables?