connect_db(); include("algorithm.php"); mysql_query("SET NAMES UTF8"); ?> SMART AGro Inno-Network

ค้นหาจากโครงสร้าง


...

โครงสร้าง



หมวดหมู่


"; $result2=mysql_query($sql2)or die(mysql_error()); while($row2=mysql_fetch_array($result2)){ $sql3="select * from Research where ResearchID='$row2[SourceID]' and ResearchStatus='4'"; //echo $sql3."
"; $result3=mysql_query($sql3)or die(mysql_error()); $row3=mysql_fetch_array($result3); //echo $row3[ResearchID]."
"; if($row3[ResearchID]!=""){ if($row2[ItemName]!=""){ //echo $row2[ItemName]."
"; $arr_result[$arr_count]=$row2[ItemName]; $arr_count++;} } } }?>


"; //print_r($arr_new); $arr_c=array_count_values($arr_result); for($x=0;$x<=count($arr_result)-1;$x++){ $str=$arr_new[$x]; if($str!=""){ ?> ไม่มีรายการ

";}?>

ผลการค้นหา


งานวิจัย (".$row_r[ResearchYearEnd].") ".$row_r[ResearchTitleThai]."
"; $a++; } } if(substr($id,0,1)=="j"){ $sql_j="select * from Journal where JournalID='$row_view[SourceID]' and JournalStatus='4' order by JournalYear DESC,TitleThai ASC"; $result_j=mysql_query($sql_j)or die(mysql_error()); $row_j=mysql_fetch_array($result_j); if($row_j[JournalID]!=""){ echo "วารสาร (".$rowj[JournalYear].") ".$rowj[TitleThai]."
"; $a++; } } if(substr($id,0,1)=="b"){ $sql_b="select * from Book where BookID='$row_view[SourceID]' and BookStatus='4' order by BookYear DESC,BookTitleThai ASC"; $result_b=mysql_query($sql_b)or die(mysql_error()); $row_b=mysql_fetch_array($result_b); if($row_b[BookID]!=""){ echo "ตำรา (".$rowb[BookYear].") ".$rowb[BookTitleThai]."
"; $a++;} } } ?>