am stuck on some lines even after reading several tutorials and answers.
// set up a row for each record echo "<tr>"; echo "<td><a href='vieworder.php?ID='>" . $row->ID . "</a></td>"; echo "<td>" . $row->Subject . "</td>"; echo "<td>" . $row->Level . "</td>"; echo "<td>" . $row->Deadline . "</td>"; echo "</tr>";
the above code fetches some records from the database. i am trying to create alink such that when someone clicks on the link with ID it opens in a new window (vieworder.php).
if ($result = $mysqli->query("SELECT * FROM placeorder WHERE ID=".$_GET['ID']));
the line above is in the vieworder.php but it is not displaying any record.
please guide what am doing wrong.