|
include ("sql.inc") ;
include ("news_tpl.inc") ;
mysql_connect($host,$user,$pw);
$base = mysql_select_db("$db");
$no = $_GET['no'] ;
$req = mysql_query(" SELECT * FROM news WHERE id=$no ") or die (mysql_error()." Couldn't execute query: $req");
while ( $fields = mysql_fetch_array ($req)) {
make_detail ($fields) ;
} // end of while
?>
|
|