Help needed - amending OR php logic to AND
I would like to amend the code here so that instead of it saying "if radiobutton1= NO or radiobutton2 = NO or radiobutton3 = NO......etc.....then send this email message" it instead says "if radiobutton1 = NO and radiobutton2 = NO and radiobutton3 = NO....etc....then send email message 1, else send email message 2"
Can anyone help? I don't know php at all and need to do this as soon as possible, so any help would be gratefully received!
What code do you have at the moment? You can basically write it like how you said it.
Edit: I just realized that your post had a link in it, CF links are so obscure. 500 lines of code, sheesh.. I don't have the time to go through and tell you what to change right now.
The link in my original post takes you to the Wordpress plugin code that I need to amend, so that's the only code I have if that helps? I believe the plugin owner said in reply to another person asking the same thing that it was the section after line 58 that would need to be changed.
As I'm no php programmer I'd be really grateful if you could help further and tell me what to change!
Thanks for any help you can give.
|All times are GMT +1. The time now is 10:18 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.