Search found 2 matches

by swudev
Thu Jul 30, 2009 1:51 pm
Forum: PHP - Code
Topic: Problem performing addition on strings.
Replies: 8
Views: 223

Re: Problem performing addition on strings.

Thanks for the reply.

Yes, my quotes do close, I have some additional code that I clipped this out of.

It functions fine until I add the line performing the addition.

Any thoughts?
by swudev
Thu Jul 30, 2009 12:46 pm
Forum: PHP - Code
Topic: Problem performing addition on strings.
Replies: 8
Views: 223

Problem performing addition on strings.

I am having problems adding four string values that I'm reading from a text file. It pulls the values successfully. And I can output those. But I keep getting an error performing the addition. Thanks in advance.      <?php        $myFile = "count01.txt";      $fy = fopen($myFile, 'r');    ...