Talk:Selling Icecreams: Difference between revisions
From Artificial Neural Network for PHP
m (New page: foreach($arrOutputs as $floatOutput) print $objIcecream->getRealOutputValue($floatOutput). '<br />'; should be foreach($arrOutputs as $floatOutput) print $objIcecream->getRealOutp...) |
(New section: Handling output values) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
foreach($arrOutputs as $floatOutput) |
... foreach($arrOutputs as $floatOutput) |
||
print $objIcecream->getRealOutputValue($floatOutput) |
print $objIcecream->getRealOutputValue($floatOutput) ... |
||
Should be |
|||
foreach($arrOutputs as $floatOutput) |
... foreach($arrOutputs as $floatOutput) |
||
print $objIcecream->getRealOutputValue($floatOutput[0] |
print $objIcecream->getRealOutputValue($floatOutput[0] ... |
||
As $floatOutput is an Array |
As '''$floatOutput''' is an ''Array'' |
||
== Handling output values == |
|||
Yes, that example code was wrong. I changed the lines to the correct code. Thanks a lot for your comment. |
Latest revision as of 20:49, 23 December 2008
... foreach($arrOutputs as $floatOutput) print $objIcecream->getRealOutputValue($floatOutput) ...
Should be
... foreach($arrOutputs as $floatOutput) print $objIcecream->getRealOutputValue($floatOutput[0] ...
As $floatOutput is an Array
Handling output values
Yes, that example code was wrong. I changed the lines to the correct code. Thanks a lot for your comment.