rendered paste body<?php
/*-----------------------------------------------------
-----------------------------------------------------*/
session_start();
include "mysql.php";
global $c;
if(!$_GET['serial'])
{
print "Invalid use of file";
}
else
{
$q=mysql_query("SELECT name, serial, price, desc FROM search",$c);
{
print "
<table width=100%><tr style='background:black'><th><font color=white>Name</font></th><th><font color=white>Serial</font></th><th><font color=white>Price</font></th> <th><font color=white>Description</font></th></tr>";
while($r=mysql_fetch_array($q))
{
print "<tr><td align=center>{$r['name']}</td><td align=center>{$r['serial']}</td><td align=center>\${$r['price']}</td><td align=center>{$r['desc']}";
print "</td></tr></table>";
}
}
}
?>