It would be best to somehow use an if statement to convert to an array as in the case of:
- Code: Select all
if ($record->val('FieldB') == "string"){
Add $record->val('FieldB') to array
to use in place here:
- Code: Select all
include ("ajstatistics.php");
$a = array(0, 1, 2, 3, 4, 5);
$the_median = median($a);
Thanks for all of your help!