Some time ago a programmer wrote a php script for me so that I could upload excel worksheets to a website. The script selects certain data from the sheet and writes the data to the db.
the excel worksheet contains multiple datasets, each one having the same "template" and each one 13 rows deep.
In the attached code, an example of a cell that is correctly written to the db is labled "T26" in the php code. T26 captures the number in row 13, column "T" of the Excel sheet. (and every 13th row thereafter, until the last dataset).
So I'm assumng that can be a guide for a solution.
The problem is with T27. If you look at the attached code, for some reason T27 has some weird (to me) code written around it, and I'm not sure why. Its function should be the same as T26. But because it is used several times in the script, I'm not sure what to do to clean it up. My meager efforts at tweaking it failed.
If it will help, I can upload the spreadsheet. In the meamtime, I'm just uploading the php code. Thanks much!