SyntaxFix
Write A Post
Hire A Developer
Questions
You mean
if (isset($_POST['sms_code']) == TRUE ) {
though incidentally you really mean
if (isset($_POST['sms_code'])) {