"; //select * from HomePic2 where H2_Id='1' $result=mysql_query("$sql") or die(mysql_error()); $resultfield=mysql_query("show fields from $table_name3"); //秀出單一 //echo "show fields from $table_name3";//show fields from HomePic2 $resultfieldnum=mysql_num_rows($resultfield); for($j = 0 ;$j < $resultfieldnum; $j++){ $stname=mysql_result($resultfield,$j,field); ${$stname}=mysql_result($result,0,$stname); }?> <?=$B_Webtitle;?>