[color="#222222"][font="Verdana"][size="2"]Using the header method can be compared to something like renaming a .TXT file to a .DOC file… that one will be opened with word but it will never be a word document.[/size][/font][/color]
[font="Verdana"][size="2"][color="#222222"]
[/color][/size][/font][color="#222222"] [/color][font="Verdana"][size="2"][color="#222222"]So if you understand that, you will understand why with this method you cannot generate a landscape mode file.[/color][/size][/font]
ok. I understand! so What is to be done to generate a word in landscape mode? Can u please suggest a library to do this.? I just saw PHPOffice / PHPWord . Any other options ?