All pastes #70729 Raw Edit

Mine

public php v1 · immutable
#70729 ·published 2006-06-24 19:23 UTC
rendered paste body
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Untitled Document</title></head><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 WHERE rlsID='LAST_INSERT_ID()'");	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>";while ( $results ) { 	$output = mysql_fetch_array($results); 	echo $output; }?></body></html>