View Single Post
  #1 (permalink)  
Old September 4th, 2004, 10:08 PM
buzzuh buzzuh is offline
Registered User
 
Join Date: Sep 2004
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 15 - functions.php question

In the first function (trimBody) there is a line that reads.

Code:
if ($tmp = strpos($theText,$s_cnt; $i++) {
etc.

Shouln't the equality operator "==" be used instead of the asignment operator "=" or am I worng in thinking this is s conditional statement?

There is no such thing as a stupid question, unless you ask it more than once :)