As I see it, the problem is that some of the & are not encoded properly, right? Just change all & to & and then change all & to &. Problem solved.
I want this: &
So as I see it AND or bAND means & this is the problem. Like I said I am new to perl (not HTML) If I write $search_b& or $search_& the code breaks. Is there a way to change just the $search_bAND line without breaking the rest of the script?