company company_to_attributes
===================== ============================
| id_company | name id_attributes | id_company
===================== ============================
| 1 | Test | 1 | 1
| 2 | Test 2 | 2 | 1
| 3 | Test 3 | 3 | 1
| 4 | Test 4 | 4 | 3
| .. | ... | .. | ...
===================== ============================
我有一個簡單的數組:MySQL查詢數組參數
$array_attributes_IDS = array(1,2);
我想要寫的獲取有id_attribute從陣列公司查詢。因爲同時包含屬性
請出示什麼結果應該是你想要做什麼的一些例子。 – 2013-04-09 09:29:46