Welcome Guest, Not a member yet? Register   Sign In
I can not figure out how to call the function
#4

[eluser]noslen1[/eluser]
Your view should remain the same :

Code:
<?php foreach ($catalog as $row): ?>

    <td>&lt;?=$row['delivery']?&gt;</td>

&lt;?endforeach?&gt;

The "delivery" field displayed here has been changed into your controller, through the helper function, and will output "5%" or 'Free!" like in your var_dump()


Messages In This Thread
I can not figure out how to call the function - by El Forum - 10-15-2012, 02:53 AM
I can not figure out how to call the function - by El Forum - 10-15-2012, 03:26 AM
I can not figure out how to call the function - by El Forum - 10-15-2012, 07:08 AM
I can not figure out how to call the function - by El Forum - 10-15-2012, 07:23 AM
I can not figure out how to call the function - by El Forum - 10-15-2012, 07:33 AM
I can not figure out how to call the function - by El Forum - 10-15-2012, 07:46 AM
I can not figure out how to call the function - by El Forum - 10-15-2012, 08:02 AM
I can not figure out how to call the function - by El Forum - 10-15-2012, 08:23 AM
I can not figure out how to call the function - by El Forum - 10-15-2012, 08:32 AM
I can not figure out how to call the function - by El Forum - 10-15-2012, 08:42 AM
I can not figure out how to call the function - by El Forum - 10-15-2012, 08:53 AM
I can not figure out how to call the function - by El Forum - 10-15-2012, 09:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB