EllisLab text mark
Advanced Search
     
download file format
Posted: 05 October 2012 05:44 AM   [ Ignore ]
Avatar
Joined: 2012-08-24
214 posts

hey guys how can i format the text in download file?
because i want to try if i can create a simple report using download helper. How can i do that?

 Signature 

Our greatest glory is not in never falling, but in rising every time we fall.

cheese
Email: .(JavaScript must be enabled to view this email address)
Mobile Number: +639216015372

 
Posted: 06 October 2012 04:23 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2011-10-15
5 posts

I am kind of confused on what you are asking exactly.  What kind of data are you trying to format?

You could retrieve data from a source such as your database and output it as a SQL File or convert it to XML format using PHP’s built in SimpleXML.  You would then to save the file and use the download helper to force the download.

Why not just pick a file and test the download helper on it?

More information can be found here on SimpleXML:
http://www.php.net/manual/en/book.simplexml.php