Dear Friends, I am new developer in PHP, i want code for reporting tool in excel format in PHP. Please give the as early as possible. Regards, Mohan.
If you want to generate file in "true" .xls format you have 2 choices: 1. Use COM object (see more here - php.net/com). But this was your script should be hosted on windows server and have office have to be installed 2. Learn .xls file format which is not fast and easy OR The way you may go is to use .csv file format. It is simple format where you split columns by ";" and excel reads it fine.
I can help you by providing u code that will export all of your data in .csv(excel) format Please tell me so that i place code here for you.