csvReader.php

1
2
<?php
class csvReader {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// Open the target csv file
$csv = new csvReader("targetFile.csv");

// Return the data based on the given line number and column name
$csv->getData(38, 'phone')

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.