04-14-2018, 07:35 AM
(04-14-2018, 03:11 AM)InsiteFX Wrote: Then Laravel is doing it wrong!
What happens if you try to send an email without an email address?
CodeIgniter is doing it the correct way.
There is more than one way. Your reasoning is wrong.
PHP Code:
if(checkIfEmailExist) {
sendEmail();
}