PHP Runner Mail Code

Codes here !

Moderators: macek, egami, gesf

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

Re: PHP Runner Mail Code

Post by johnj » 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: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: PHP Runner Mail Code

Post by johnj » Fri Jul 27, 2012 5:31 am

then, use two separate ifs.

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

Re: PHP Runner Mail Code

Post by johnj » 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

Who is online

Users browsing this forum: No registered users and 3 guests