$val ) { fwrite($fh, "\t".'"'.$code.'":"'.addslashes($val)."\",\n"); } fwrite($fh, "}\n"); fclose($fh); ?>