PHP Runner Mail Code

Codes here !

Moderators: egami, macek, gesf

Post Reply
johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Thu Jul 26, 2012 8:08 pm

try this

Code: Select all

if ($oldvalues["PP_S2_DATE"] != $values["PP_S2_DATE"]) 
{
}
elseif ($oldvalues["PP_S35_DATE"] != $values["PP_S35_DATE"]) 
{
}


johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Fri Jul 27, 2012 5:31 am

then, use two separate ifs.

johnj
php-forum Super User
php-forum Super User
Posts: 1803
Joined: Thu Mar 10, 2011 5:07 pm

Sat Jul 28, 2012 7:53 am

try this

Code: Select all

if (($oldvalues["PP_S2_DATE"] != $values["PP_S2_DATE"]) ||  ($oldvalues["PP_S35_DATE"] != $values["PP_S35_DATE"]))
{ 
}
You need to be clear about what you want.

Post Reply