There are way too many problems here. Yes, one of them is your line "if( SearchBuff( $decide == 1 ) ) {...". Since you're using global variables, you would fix that problem by calling SearchBuff() first, and then say, "if( $decide == 1 ) {.....". But let me run down a list of things you really should do. Ok, they're not necessary, but may be good ideas if you want it done right:
Dave
In reply to Re: Problem Searching an array for a string... Please Help!
by davido
in thread Problem Searching an array for a string... Please Help!
by XehNib
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |