I'm looking at how to upload a CSV file and xlsx to a MySQL database from PHP strong>. I've already researched Google and I've taken the examples they give but they do not work for me.
What happens is that I'm in charge of the form of several menus, where with a radio they choose and they give click about consulting and it brings the referring information. Each radio has a case where the query is made and shows it, but apart from that, in one of them I need to massively import the fields of the table shown. I've already done it directly in the case, I do not care about anything, with require either ... I do not know how to do more.
I hope I was successful and made myself understood ... Thank you.