| 
	
 | 
 Posted by Martin Jay on 06/13/25 11:48 
In message <1148482876.965877.230630@g10g2000cwb.googlegroups.com>,  
sloane.irwin@gmail.com writes 
>Hi, I'm working on a computer inventory database at my federal 
>work-study job and I've been able to find help so far with everything 
>I've been doing, but this error message is really bugging me. Here's 
>the code, the error is generated on line 41: 
 
>    if($i % 2); { //this means if there is a remainder 
>        echo "<TR bgcolor=\"yellow\">\n"; 
>    } else { //if there isn't a remainder we will do the else 
>        echo "<TR bgcolor=\"white\">\n"; 
>} 
 
The ';' after the 'if' is probably causing the problem. :) 
--  
Martin Jay
 
  
Navigation:
[Reply to this message] 
 |