This topic is locked

[Newbie] possible to add an interface via PHPRUNNER to allow users to upload an excel???

10/10/2025 02:09:21
PHPRunner Tips and Tricks
R
RyanKing author

Hi all,
I need to add a customized file-upload interface to allow users to upload their excels.
Then I need to parse this excel/csv as inputs -> query the tables -> return a bunch of filtered records.
Is it possbile and how can I implement this?
Thanks.

S
salus2 10/10/2025

Hi, PHPRunner has native controls for importing comma-separated (.csv) or Excel (.xlsx) files.
You add this capability on the Pages editor.

img alt

R
RyanKing author 10/16/2025

thanks, but I assume the import function is based on one dedicated table, right?
I need to create an independent and customized import function, not based on any table.

fhumanes 10/19/2025

Hi @RyanKing,

What you request can be developed in PHP and therefore in PHPRunner using the "phpSpreadsheet" libraries.

I do not have any example on my Blog for the function you are looking for, but I have examples of how this library can be used:
https://fhumanes.com/blog/impresos/crear-informes-con-phpspreadsheet/

You can find multiple examples on the internet or rely on some AI to create your example.

Greetings,
fernando