window.location='https://api.whatsapp.com/send?phone=+918291335308&text=hi'"; } // all others else { header('Location: https://web.whatsapp.com/send?phone=+918291335308&text=hi'); //OR echo ""; } ?>