Here is my current block of code:
Code: Select all
do {
$customerData=fgets($handleReadCA);
$temp=explode("\t",$customerData);
$invoiceNum=$temp[0];
if($temp[0]=="+") { $temp[0] = $invoiceNum; }
else { $invoiceNum = $temp[0]; }
$value=implode("\t",$temp);
fputs($handleWriteCA, $value);
} while(!feof($handleReadCA));However, I can't seem to get this to happen - all my data is then written with the "+" and not the actual invoice number.
Any help would be TREMENDOUSLY appreciated. I hope I've explained this clearly.
(edited: took out code comments)
Virginia