1.is that okey.. your send... Correct me if I'm wrong, but send there in your first if... would look for a constant variable... which is probably empty....

2.then perhaps the case of your if...

3.and where's the closing bracket for your first if?