Hi,
I want to import a CSV file into a MySQL table using phpMyAdmin to later use it with the DataGrid widget.
The first value on each row is some name (VARCHAR) and the three next values are boolean values.
I wonder :
- how the boolean values should be written in the CSV file (true/false, 1/0, ... ?)
- if I can let blank content for false values, like this : granny smith apple,,,1
- if quotes are required and if for all values or only the VARCHAR-typed field.
Currently, my CSV file is something like :
"fruit","can_be_red","can_be_yellow","can_be_green"
banana,,1
golden apple,,1
granny smith apple,,,1
maigold apple,1,1
Thanks for any help.