PHP SQL fetch repeats the same result 4 times

0

I use this sentence:

$skills = $SQL->query('SELECT * FROM table1 INNER JOIN table2 WHERE table1.account_id <> table2.account_id LIMIT 10')->fetchAll();

But when I use print_r($skills); to see the data thrown, it appears to me that each data is repeated more than 4 times in different arrays.

    
asked by Frey Stroud 24.06.2017 в 20:26
source

0 answers