it must be somewhere else in the code. I got the same error in the following line chop($fai_in) if(length($fai_in) > 0); when I comment this line got the error in next line. The problem was however was in the following line which missed the brackets while($cust_id, $field_association_id = $sth->fetchrow_array()) which should be while(($cust_id, $field_association_id) = $sth->fetchrow_array()) it solved the problem
|Replies are listed 'Best First'.|
Re^5: "Useless use of private variable in void context"
by BrowserUk (Pope) on Aug 22, 2008 at 22:31 UTC