Prevent the mail from sending if fields are empty

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: Prevent the mail from sending if fields are empty

Post by seandisanti » Wed Apr 30, 2014 8:20 am

I posted to your other thread before seeing this one, but re-reading reminded me, you should make sure to have an exit; when fail condition is done, so code stops executing.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests