Forum
Calc Builder Support
Calc Builder supportForums
Public write access is disabled. Please login
Using non-output matrix 18.10.2011 20:32
Hello,
I purchased your calcbuilder a couple of days ago, and I'm just struggling a little...
I'm not really a php programmer, and could use some guidance.
I've set up the calculator, but there is a variable that needs to be pulled from a non output matrix.
When the code calculates the $factor I need it to look up from the matrix the $factorB value of that variable and use it in a later calculation.
I purchased your calcbuilder a couple of days ago, and I'm just struggling a little...
I'm not really a php programmer, and could use some guidance.
I've set up the calculator, but there is a variable that needs to be pulled from a non output matrix.
When the code calculates the $factor I need it to look up from the matrix the $factorB value of that variable and use it in a later calculation.
Re: Using non-output matrix 18.10.2011 20:33
Hello,
In order to get non-output matrix value you should get value in this way:
$NameOfTheMatrixVariable['Row']['Column']
Row is row value in first column.
In your case :
$resultB= $matrix[$factor]['factorB'];
Hope this helps.
Moonsoft Team
www.moonsoft.es
In order to get non-output matrix value you should get value in this way:
$NameOfTheMatrixVariable['Row']['Column']
Row is row value in first column.
In your case :
$resultB= $matrix[$factor]['factorB'];
Hope this helps.
Moonsoft Team
www.moonsoft.es