Unterminated <> operator
The following:
... and $orig_cnt=1)
is an assignment. It should probably be a numeric check (==):
... and $orig_cnt==1)
I also see that in two other places in your code.
Other advice:
In reply to Re: Help with my rookie logic
by toolic
in thread Help with my rookie logic
by rookie_monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |