Template for .csv file?

Started by dski, 19 November 2013, 09:09:33

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

federica

Hi dski,
at line 108 there is this PHP function mysql_real_escape_string(). Check if the server has some restrictions.
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

dski

  Hi Federica,

  One more question about the format of the .csv file. I managed to insert book using a .csv file however although at the column authors (the last one) I put the ID (as a plain number) of an author already inserted int the database, although the book is inserted the author field data appear empty. What I do wrong? In a previous message in this topic you wrote that the author field is in fact a list of authors IDs separated by semicolon. I want to put just a single author in a book. If his ID in the database is eg 123 how should it be written in the .csv file; 123, "123", [123],"[123]"?

  Thanks for all your help!

federica

Hi dski,
you have to write .....;"123";.......
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]