include("../settings.php"); $id = $_REQUEST['id']; $query1 = "SELECT * FROM newsletter WHERE linkcode = '" . $id . "' "; mysql_query($query1); $result1 = mysql_query($query1); $row1 = mysql_fetch_assoc($result1); $agentid = $_REQUEST['agentid']; $query2 = "SELECT firstname, lastname, newssuffix, company, phonenumb FROM agents WHERE agentid = '" . $agentid . "' "; mysql_query($query2); $result2 = mysql_query($query2); $row2 = mysql_fetch_assoc($result2); ?>
|