I have a clean .php page on which I placed a table and use import table property to populate the table from a .csv file. Using PHP I make changes to the .csv file. When I do that, the changes are just added to the end of the displayed table. Is there some way I clean out the table so the changed .csv file is the only thing appearing in the table?
Thanks, Harry Jones
Table Import
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Re: Table Import
There is no standard solution for this, because is very specific. So, this will require a custom script.
Re: Table Import
Which Table function or extension are you using? Have you tried using one of the table extensions that display a .csv file instead of importing it? then when you edit the .csv file the result is shown in the table.
I have a couple of projects I used these extensions to display a .csv file. I am using the CSV CRUD to edit the csv file.
Datatables - https://www.wysiwygwebbuilder.com/datatables.html
Responsive Tables - https://www.wysiwygwebbuilder.com/respo ... table.html
Bootstrap Tables - https://www.wysiwygwebbuilder.com/bootstraptable.html
I have a couple of projects I used these extensions to display a .csv file. I am using the CSV CRUD to edit the csv file.
Datatables - https://www.wysiwygwebbuilder.com/datatables.html
Responsive Tables - https://www.wysiwygwebbuilder.com/respo ... table.html
Bootstrap Tables - https://www.wysiwygwebbuilder.com/bootstraptable.html
onlye
Gluckstadt, MS USA
Gluckstadt, MS USA
Re: Table Import
Hello Onlye. Thanks for your response. I have a shopping cart which is built with text statements written to a blank page. It works, but is not very attractive. I was hoping to use tables to improve the appearance. I have the 3 extensions you mentioned. I think this is a problem I'll have to solve by continued experimentation. Greetings to MS from TX.
Best,
Harry
Best,
Harry
Re: Table Import
Harry,hjones43 wrote: ↑Wed Jan 18, 2023 8:54 pm Hello Onlye. Thanks for your response. I have a shopping cart which is built with text statements written to a blank page. It works, but is not very attractive. I was hoping to use tables to improve the appearance. I have the 3 extensions you mentioned. I think this is a problem I'll have to solve by continued experimentation. Greetings to MS from TX.
Best,
Harry
Did you get your shopping cart to work?
What part of TX?
onlye
Gluckstadt, MS USA
Gluckstadt, MS USA
- wwonderfull
-
- Posts: 1539
- Joined: Fri Aug 21, 2020 8:27 am
- Contact:
Re: Table Import
What you want is maybe fully possible. If you need advanced php solution you can contact us from our site if needed.hjones43 wrote: ↑Tue Jan 17, 2023 6:10 pm I have a clean .php page on which I placed a table and use import table property to populate the table from a .csv file. Using PHP I make changes to the .csv file. When I do that, the changes are just added to the end of the displayed table. Is there some way I clean out the table so the changed .csv file is the only thing appearing in the table?
Thanks, Harry Jones