This topic is locked

After adding send email if the data is equal to

8/31/2020 1:36:38 PM
PHPRunner General questions
L
luchoadmin author

Hello dears
I am making a system where after adding a new page I want that if the fuel field is if I send an email and if it is not just load the record
can you help me?
Regards

Myr0n 8/31/2020



Hello dears
I am making a system where after adding a new page I want that if the fuel field is if I send an email and if it is not just load the record
can you help me?
Regards


When you say "just load the record" that's meaning do nothing or do not want receive an email?

Myr0n 8/31/2020



Hello dears
I am making a system where after adding a new page I want that if the fuel field is if I send an email and if it is not just load the record
can you help me?
Regards




if($values['fuel'] == "if"){ //if the fuel field is if

//place code here to send an email or something else.

}


You can use this code snippet Send email with new data

and this in case you missed it.