PHP Classes

This class is a wrapper around PHP's fgetcsv() function, I wa...

Recommend this page to a friend!

      CSV Parse and Read  >  All threads  >  This class is a wrapper around PHP's...  >  (Un) Subscribe thread alerts  
Subject:This class is a wrapper around PHP's...
Summary:Package rating comment
Messages:1
Author:Joe Access
Date:2012-10-28 10:30:31
 

Joe Access rated this package as follows:

Utility: Sufficient
Consistency: Sufficient
Examples: Sufficient

  1. This class is a wrapper around PHP's...   Reply   Report abuse  
Picture of Joe Access Joe Access - 2012-10-28 10:30:31
This class is a wrapper around PHP's fgetcsv() function, I was expecting that it's a separate implementation. It doesn't add anything extra. Why even upload this?

I didn't like this solution:

echo '<script>alert ("Accept the Value in to an array, Click on Ok to get the Array Format");</script>';
echo '<pre>';print_r($Data); echo '</pre>';

Placing a Javascript alert box inside a PHP library ? Seriously?

And this line:

echo '<pre>';print_r($Data); echo '</pre>';

should have been written as:

echo '<pre>' . htmlspecialchars (print_r ($Data, true)) . '</pre>';