Page 1 of 1
CSV CRUD <SOLVED>
Posted: Thu May 11, 2023 8:51 am
by iezhawe
Halo ...
I made data with CSV CRUD but always failed, the input data went well but the table did not appear correctly only 2 empty columns appear.
How to determine the field ID to become an auto increment?
Is anyone pleased to give an example file?
Re: CSV CRUD
Posted: Thu May 11, 2023 9:39 am
by Pablo
A CSV file does not have auto increment. This only applies to MySQL.
If you need help then please share a DEMO project so we can see what you are trying to do.
Re: CSV CRUD
Posted: Fri May 12, 2023 7:09 am
by iezhawe
This is the demo file link
https://t.ly/pFR-
Re: CSV CRUD
Posted: Fri May 12, 2023 7:16 am
by iezhawe
Re: CSV CRUD
Posted: Fri May 12, 2023 7:26 am
by Pablo
The column should be a number (index). Please see the documentation for more details.
If you need further assistance then please also include a link to the CSV file.
Re: CSV CRUD
Posted: Fri May 12, 2023 7:59 am
by iezhawe
oh i see ...
This goes well, sorry I'm not careful.
but the EDIT & DELETE button not dislpayed
csv file :
https://t.ly/kD6c
Re: CSV CRUD
Posted: Fri May 12, 2023 8:18 am
by Pablo
Did you update all fields and republish the page?
Note that index are zero based (starting with zero).
If that does not work then please share the updated project.
I have tested your project with the changes and it works for me.
Re: CSV CRUD <SOLVED>
Posted: Fri May 12, 2023 8:33 am
by iezhawe
yes it's work.
SOLVED !!!
Thank you very much Pablo
Note for me who is not observant:
1. The column must be filled with numbers
2. The number starts from 0