Adding conditional statements to UE code
I have set up a system to send out a newsletter to everyone in a mySQL database.
I have the whole thing working fine, but now I want to send the newsletter only to certain people, conditional on there being a certain word present in one of the database fields.
I am OK constructing the PHP IF statement, but am having trouble working out which block of the UE generated code to wrap it around.
Can anyone help?
I have attached the code.
(By the way, I though I had posted this yesterday but it seems to have disappeared, so if it turns up twice, my apologies)