Posts: 2,536
Location: Western Maryland
|
Where is $num coming from? You are checking if( $num == 0 ), but your code does not show where $num gains its value. Also, you have two else clauses for only one if(), so there is clearly some more code preceeding this segment in the file. Post the whole file so we can get a better idea of what is going on.
__________________
—Kyrnt
|