Good morning! Can anyone help me with a question?
I have a select
SELECT * FROM order
INNER JOIN kn_status ON (kn_order.n_order = kn_status.fk_order)
WHERE kn_order.fk_cliente='$id'
The problem is that in the STATUS table the N_ORDER repeats several times and when I run WHILE it shows me the result of the repeated ORDER table.