```
    $img1 = $_GET['img1'];
    $img2 = $_GET['img2'];
    $query = $mysql_query("SELECT * FROM asd WHERE ID=$img1");
    $row1 = mysql_fetch_array($query);
    $query = $mysql_query("SELECT * FROM asd WHERE ID=$img2");
    $row2 = mysql_fetch_array($query);

```

--

Was having trouble with this, forgot to exclude $