Csvparser Class In PHP - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Csvparser Class In PHP (730 Views)
| Csvparser Class In PHP by alabi10(op): 3:08pm On Dec 17, 2014*. Modified: 7:09am On Dec 18, 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 |
| 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? |
| Re: Csvparser Class In PHP by alabi10(op): 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. |
Online Shopping System In Php Documentation Help • Running Python Codes In Php • What's new in PHP 5 and PHP 6 • 2 • 3 • 4
Help Pls I Need A Free Tutorial On Website Development. • Website And Adsense Account For Sale • Any Developer With A Google Playstore Developer Account?