Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,194,418 members, 7,954,656 topics. Date: Saturday, 21 September 2024 at 05:16 AM |
Nairaland Forum / Science/Technology / Programming / Csvparser Class In PHP (679 Views)
Online Shopping System In Php Documentation Help / Running Python Codes In Php / What's new in PHP 5 and PHP 6 (2) (3) (4)
Csvparser Class In PHP by alabi10: 3:08pm On Dec 17, 2014 |
Just finish cooking up this code it is a CSVParser Class. It parse thru a csv file you pass to it and check if data in each columns follows validation rule you set. It can return the csv content as in HTML table tag or div tag. You can alight data that do not meet validation rule you have set. The content of the csv file can also be return as an array. Uploaded is the class file, a test file and a sample csv file to play with it.
|
Re: Csvparser Class In PHP by blenyo11(m): 7:21pm On Dec 17, 2014 |
Good job. Will check it out 1 Like |
Re: Csvparser Class In PHP by CRAZYMADMAN(m): 7:48pm On Dec 17, 2014 |
love the standardized comments and indentation. But on a side note, this happens to be your first ever post on nairaland, so when were we," calling " on you for this Class? 1 Like |
Re: Csvparser Class In PHP by alabi10: 7:13am On Dec 18, 2014 |
@CRAZYMADMAN and @blenyo11 tank for the nice comment. would love some technical criticism too. |
Re: Csvparser Class In PHP by Nobody: 9:56am On Dec 20, 2014 |
It is good practice to state the language you use for your work on this board. So that some people will not waste their time opening stuffs. I for one was hoping the CSV parser was written in (looks left and right first to make sure . . .) err JAVASCRIPT. |
(1) (Reply)
Adaptters : Latest Update You Need To Know About Windows 10 / C++ Programming Tutorial / Get Massive Traffic To Your Blog Or Website Today.
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6 |