<?
$result = mysql_query("select * from links where number=$print_number");
$row = mysql_fetch_assoc($result);
foreach($row as $key => $value){
$$key = $value;
}
if(!empty($banner))$img="<img src=\"$banner\">";
$p_comment = nl2br($comment);
$p_title = $title;
if($type=="link") $p_title="<a href=\"$link\">".$title."</a>";
?>
<DIV ALIGN="right"><a href="create_link.php">戻る</a></DIV>
[<?=$type?>]<BR>
<B>タイトル:</B><BR>
<?=$title?>
<?=$img?><BR>
<B>紹介文:</B><BR>
<?=$p_comment; ?>
<BR>