require "config.inc.php3";
/*** commented 01/02/2000 mn ***
$hostname = "db4.pair.com";
$username = "bcs_w";
$password = "v53mtBji";
$dbName = "bcs_db";
***/
/* MySQL table created to store the data */
$userstable = "items";
/* make connection to database */
MYSQL_CONNECT($hostname,$username,$password) OR DIE("Unable to connect to database");
@mysql_select_db("$dbName") or die("Unable to select database");
$linkNum=$QUERY_STRING;
if ($linkNum>0)
{
$query = "SELECT * FROM $userstable WHERE ID = '$linkNum'";
$result = MYSQL_QUERY($query);
if ($result>0)
{
$number = MYSQL_NUMROWS($result);
//print "number=$number
";
if ($number>0)
{
$theURL = mysql_result($result,0,"URL");
// print "URL = $theURL
";
// $s=sprintf("",34,34,34,34);
$s=sprintf("",34,34,34,34);
// print $s;
print "