"; } $list=mysql_num_rows($query); $dp = fopen("Dic$selectedABC[$count].tex","w+"); while ($row=mysql_fetch_array($query)){ $destination[$I] = "\dicentry\{$row[Disease_En]} \{$row[Shortended_Word]} \{$row[Disease_Ko]} \{$row[Definition]} \{$row[Disease_Code]} \{$row[Procedure_Code]}\n"; fwrite($dp,$destination[$I]); $I++; } $I = 0; fclose($dp); $count++; } while (($selectABC == "ALL") && ($count < 26)); $count = 0; ?>

Try! "latex PDFDic**.tex and dvipdfmx PDFDic**.dvi"

>
>