Forum
Calc Builder Support
Calc Builder supportForums
Public write access is disabled. Please login
IF, ELSE statments... 05.02.2013 14:18
Hi there, is CalcBuilder capable of dealing with if/else/elsif statements?
IE something simple like this:
$sum2=0;
if($sum>100):
$sum2=1;
-thanks!
Edited by moon_907 - 05.02.2013 14:18
Edit, Nevermind! figured it out! had forgotten brackets
$sum2=0;
if($sum>100)
{
$sum2=1;
}
Edited by moon_907 - 05.02.2013 14:22
IE something simple like this:
$sum2=0;
if($sum>100):
$sum2=1;
-thanks!
Edited by moon_907 - 05.02.2013 14:18
Edit, Nevermind! figured it out! had forgotten brackets
$sum2=0;
if($sum>100)
{
$sum2=1;
}
Edited by moon_907 - 05.02.2013 14:22
Re: IF, ELSE statments... 05.02.2013 16:00
Hello,
yes, at the code section you can include any valid php you want, not only conditional statements, but everything you are able to do according to php sintax, like loops, database querys, sending emails...
Best regards
Moonsoft Team
www.moonsoft.es
yes, at the code section you can include any valid php you want, not only conditional statements, but everything you are able to do according to php sintax, like loops, database querys, sending emails...
Best regards
Moonsoft Team
www.moonsoft.es