Page 2 of 2

Re: UPDATE SET doesn't work

PostPosted: 25. June 2014 19:51
by OrcaSoul
Altrea wrote:Which is the biggest hint that your WHERE doesn't match.

And adding ", FILE_IGNORE_NEW_LINES" to the file command:
Code: Select all
$arr = file($filename, FILE_IGNORE_NEW_LINES);

I got rid of the white-space, and the update occurred.

Thanks for the help!