if(!$to || !$message){ echo "$txt_16";return; }
if(empty($to) || empty($message) || empty($subject)){ echo "$txt_16";return; }
Also Add above the query:$txt_16 = '2.1 doesn\'t have language files';
if(empty($to)){echo "TO IS EMPTY!";return;}if(empty($message)){echo "MESSAGE IS EMPTY!";return;}if(empty($subject)){echo "SUBJECT IS EMPTY!";return;}
okay so you were entering a name instead of their user id?Thought that was what was happening.Well using ids are much better than username. its less data and maybe we might in the future we'll put a thing in where you can change your username.. so if we use ids we won't have to worry if someone changes their username.