rendered paste body<? echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">"; echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">"; echo "<head>"; echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />"; echo "<title>.</title>"; echo "</head>"; echo "<body>";include("db.php");mysql_connect($database['host'], $database['userid'], $database['pass']) or die("Could not connect: " . mysql_error());mysql_select_db($database['db']);/*$addURL = "addURL";$addRLS = "addRLS";$result = mysql_query("SELECT * FROM releases WHERE rlsID='7'");$gimme = mysql_fetch_array($result);while ( $results ) { $output = getcurrentresultfromsearchresults; echo $output; }*/$results = mysql_query("SELECT * FROM releases");$output = mysql_fetch_array($results); echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">"; echo "<tr>"; echo "<td align=\"center\">"; echo "<form action=\"addLink.php\" name=\"addURL\" method=\"post\">"; echo "<input type=\"text\" name=\"query1\" value=\"Release Name\" />"; echo "<br />"; echo "<input type=\"text\" name=\"query2\" value=\"URL\" />"; echo "<br />"; echo '<input type="hidden" name="addURL" value="'.$addURL.'" />'; echo "<input name=\"submit\" type=\"submit\" value=\"Submit\" />"; echo "</form>"; echo "</td>"; echo "</tr>"; echo "</table>"; /* echo "<p>" .$output[rlsText]. "</p>"; echo "<p>" .$output[urlText]. "</p>"; */ while ( $results ) { $output = mysql_fetch_array($results); echo $output; } echo "</body>"; echo "</html>";?>