Answer the question
In order to leave comments, you need to log in
How to count columns with the same values from a table?
How to count columns with the same values from a table?
The column has the same values chat(for example - 2) , how to count the number of these columns and display them in php?
$order = DB::$the->query("SELECT * FROM `sel_orders` where `chat` = '2' ");
$fname1 = $order->fetch(PDO::FETCH_ASSOC);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question