detay php de şu sorgu var
$r=mysql_fetch_array(mysql_query("Select * from program where adi_s = '$id'"));

bu yeterlimidir