I want to do some calculations on my website. For that i saved the form on my database. The database looks like that:
FirstValue |   Operator  | SecondValue
------------------------------------
   20      |      +      |   10
   20      |      -      |   10
   10      |      *      |   10
   10      |      /      |   10
Now i want to print the results on php like that:
for($i=0;$i<count($array);$i++)
    echo $array['FirstValue'][$i].$array['Operator'][$i].$array['SecondValue'][$i];
But i get only the strings which includes the form.
 
    