0
How do I manipulate excel cells with PHP?
For example: I need to take 2 cells, in separate lines Cell 1: AB2 Cell 2: BC4
And multiply them AB2 * BC4 = ?
And print this value on the screen. All this in PHP, but how?
File type: CSV
In case you don’t know how, I have another question: What if I save the CSV spreadsheets in the database and also manipulate with PHP? Is there a way?! Gives same example as the one above...
CSV format is not unique to EXCEL, it is a tabular text format and with a column separation pattern. For example the most common way is to circle the value of the column with quotes " and separate the columns with semicolon ; If you open a CSV file in the text editor you will see what I am talking about and possibly understand that your solution is to take the column in the position you want and add the value, but reading a line from a text file and not from an EXCEL format
– Flávio Granato
Fine. I know it’s not exclusive, but I just said I’m using csv from excel. And I want to know how to manipulate COM PHP.
– Alexandre Amado
You could use a p Phpexecel, if that’s your problem. I hope it helps.
– User