Hi,
Thanks for your replies.
I have now modified my code such that it now reads...
while (strpos($data,"|")!===FALSE)
{
code
}
(included 3 '=' as per the documentation.
However, now PHP is saying there are too many '='
Parse error: parse error, unexpected '=' in /var/www/html/file.php on line 453