Welcome Guest, Not a member yet? Register   Sign In
Something wierd here
#4

[eluser]n0xie[/eluser]
Yeah because when you foreach your array, $pf['plan_fraction_partial_fraction'] doesn't exist since $pf gets assigned the values of your array as shown in the output of your first example.

if you want to make your code work do this:
Code:
echo '<pre>'; print_r($plan_fract); echo '</pre>';
$my_array = array($plan_fract);

foreach ($my_array as $pf):
...


Messages In This Thread
Something wierd here - by El Forum - 05-10-2011, 02:50 PM
Something wierd here - by El Forum - 05-11-2011, 12:28 AM
Something wierd here - by El Forum - 05-11-2011, 08:09 AM
Something wierd here - by El Forum - 05-11-2011, 08:16 AM
Something wierd here - by El Forum - 05-11-2011, 08:19 AM
Something wierd here - by El Forum - 05-11-2011, 08:22 AM



Theme © iAndrew 2016 - Forum software by © MyBB