I keep having a problem , i'm creating a xml file with php and database info and i'm getting bad invisibles /charachters and breaking up of the formatting??
thanks this is the script :
fputs($make_chap_mov,"</Script>
<Text_Sample_Name>\"$n\"</Text_Sample_Name>
<Window_Left>153</Window_Left>
<Window_Top>168</Window_Top>
<Window_Width>505</Window_Width>
<Window_Height>420</Window_Height>
<Window_Scale>0</Window_Scale>
<Sample_Time_Scale>600</Sample_Time_Scale>
<Sample_Duration><Time>$row[4]</Time><TimeScale>600</TimeScale></Sample_Duration>
<Sample_Start_Time><Time>$row[1]</Time><TimeScale>600</TimeScale></Sample_Start_Time>
<Text_Sample_Text><![CDATA[$row[0]]]></Text_Sample_Text>
<Text_Sample_Style>\"000100000000000c000a000300000009000000000000\"</Text_Sample_Style>
<Text_Sample_Back_Color><Red>65535</Red><Green>65535</Green><Blue>65535</Blue></Text_Sample_Back_Color>
<Text_Sample_Hilite_Color><Red>0</Red><Green>0</Green><Blue>0</Blue></Text_Sample_Hilite_Color>
<Text_Sample_Just>1</Text_Sample_Just>
<Text_Sample_Box><Left>0</Left><Top>0</Top><Right>0</Right><Bottom>0</Bottom></Text_Sample_Box>
<Text_Sample_BG_Box><Left>0</Left><Top>0</Top><Right>0</Right><Bottom>0</Bottom></Text_Sample_BG_Box>
<Text_Sample_Flags>0</Text_Sample_Flags>
<Text_Sample_Delay><Time>0</Time><TimeScale>600</TimeScale></Text_Sample_Delay>
<Text_Sample_Start>0</Text_Sample_Start>
<Text_Sample_End>0</Text_Sample_End>
<Text_Sample_Shadow_X>0</Text_Sample_Shadow_X>
<Text_Sample_Shadow_Y>0</Text_Sample_Shadow_Y>
<Text_Sample_Shadow_Opacity>0</Text_Sample_Shadow_Opacity>
</Text_Sample>");