Very good idea. Why not also import with csv ??
Bernhard:-))
Very good idea. Why not also import with csv ??
Bernhard:-))
That’s a good point. But importing data would only work on simple database systems. Once you start adding foreign keys and dependencies, then it becomes impossible to do track… a standard script would add the necessary logic, which is beyond the purpose of these simple small apps.
Great, simple and adaptable! And excellent support, too! Kudos to you Robert.
When I export something, it does not looks nice… There is no table displayed, only alle the information behind eachother separated by komma’s.
Looks good man
Hi Robert
Love this script simple to install and execute – Question : can I preview the entire table instead of just 5 columns?
Thanks for an excellent script – I encourage others to buy this!
Scandic
Nice Script. But i dont get it to work with a sql query like “SELECT * FROM mytable WHERE id = “1”
Please help.
This was the best $7 I’ve spent in a long time. Thanks so much for the clean, clear, easy to use code.
Very good idea. Why not also export to xml, rss ?
Can you provide an example of the csvaction.php code that does not require the front-end form to be filled in?
e.g.
1. I have a page in my app with a link/button that calls csvaction.php when clicked.
2. All the connection info and the query sql have been preset in the csvaction.php page.
3. So the result is that onClick the user just downloads the CSV file and doesn’t need to know/fill in the data in the front-end form.
This way your script can be called from any page where I want to add a CSV download function, making the script more useful.
Rob
Thanks for your help by email, your answer below solves my problem.
In csvAction.php, you can fill out line 9-14… and remove line 18-29.
Getting an error when using this. Parse error: syntax error, unexpected ‘{’ in xxxx/export-csv/csvAction.php on line 39
ERROR ! Please fix!
Getting an error when using this. Parse error: syntax error, unexpected ‘{’ in xxxx/export-csv/csvAction.php on line 39
Sorry, I noticed the error only exist for users running PHP4 . I have a patch for it… just shoot me an email by submitting a form on this page: http://codecanyon.net/user/robertbanh
I don’t get notify of new comments on this thread (a feature lacking from CodeCanyon). Sorry.
Is there a way to adjust this so that it exports as a .doc instead?
5 Stars from me. I got this uploaded and tweaked for my use in about 90 seconds flat. Excellent out-of-the-box experience. Many thanks!
COPYRIGHT © 2012 ENVATO| TERMS OF USAGE| SUPPORT/HELP| ICONS BY TANGO + WEFUNCTION + FAMFAMFAM
Adobe®, Flash®, Flex®, Fireworks®, Photoshop®, Illustrator®, InDesign® and After Effects® are registered trademarks of Adobe Systems Incorporated.
86 Purchases
15 Comments