I read a line from a file into $str using fgetcsv. I do some checks on the value of some of the elements of the $str array and then I put it back into a regular string.
This is the code I am using.
Code: Select all
$str = fgetcsv ($fp, 1000, ",");
$whole_string = implode(",", $str);Code: Select all
<b>Warning</b>: implode() ї<a href='http://www.php.net/function.implode'>function.implode</a>]: Bad
arguments. in <b>C:\mimi\alerter.php</b> on line <b>83</b><br />Paul