Certo. Ecco:

Codice PHP:
<?php ob_start(); ?>

<html>
<head>
    <title>titolo</title>
</head>

<body>

<?php
include ('connection.inc.php');
?>

<?php
$email
=$_GET['email'];
$codice=$_GET['codice'];

$query "SELECT * FROM tabella WHERE email='$email'";
$result mysql_query($query$db) or die ("Errore nella query al database. $query."mysql_error());
while (
$row mysql_fetch_array($result)){...}