English > Development

Export csv file

(1/1)

pra15:
Hello,

I would like to export the title and the url of database movies.
As i'm not programmer, i have just modified the csv export plug in existing in PVD.


--- Code: ---%OPTIONS%
encoding="UTF8BOM"
replace=";<->,"
replace=""<->"
replace="#13#10<-> "
replace="#13<-> "
replace="#10<-> "
filter="CSV Files|*.csv"
%OPTIONS%
%HEAD%Title;URL;
%HEAD%{%value=title};"{%value=url}";
--- End code ---

The problem that there is only one film in the export csv file and not the complete database.

If someone can help me, thanks for advance.

dgdoo:
Hi,

maybe you had filtered your movies using the search field?
I always get exactly the titles which are displayed in the screen list.

Regards

pra15:
Thanks for response,

No filters, but i have seen with a text editor that all the database was exported but in one line, so with a csv editor just one line appears.
It's just a question of layout.

What the language use for export plug-in?
Is there links for learning and help?

dgdoo:
Hi,

does your modified export script end with a newline?

Regardsß

pra15:
Thanks it's ok now.

Just enter at the end of code.

Navigation

[0] Message Index

Go to full version