Hingað er ég kominn <?php $db = mysql_connect(“localhost”, “user”, “pass”); mysql_select_db(“Diskar”,$db); $result = mysql_query(“SELECT * FROM Diskar WHERE fjoldi AND id = 3 AND id = 1;”,$db); printf(“Fjöldi: %s<br>\\n”, mysql_result($result,0,“fjoldi”)); ?> Þetta er grunnur “Diskar” ég vill fá út heildarfjölda diskana! +———-+——–+———+——+————+————+ | Id | Diskar | Nafn | | fjoldi | | +———-+——–+———+——+————+————+ | 1 | DVD | | | 04 | | | 2 | Cd | | | 17 | | | 3 | Lp | | | 12 | |...