$output = array(
'FLUENCE' => array(
0 => 'Fluence 1'),
'SANDERO' => array(
0 => 'Sandero Old',
1 => 'Sandero New')
);
while($row = mysqli_fetch_assoc(mysqli_query('SELECT ... FROM ... ORDER BY ...'))){
// model = FLUENCE, modification = Fluence 1
$output[$row['model']][] = $row['modification'];
}
CREATE VIEW new_table AS SELECT * FROM old_table LIMIT 20
SELECT COUNT(*) FROM `posts` WHERE `rating` >= 100
SELECT* FROM `posts` WHERE `id` IN(SELECT COUNT(*) FROM `posts` WHERE `rating` >= 100)
SELECT * FROM `table` WHERE id = 1; UPDATE `table` SET `var2` = 0 WHERE id = 1;
if($userdata = mysql_fetch_assoc($query)){
...
}