public static function joinKeysAndValuesOfArray(array $record)
    {
        $temp = [];
        for ($i = 1; $i < count($record); $i++) {
            $value = array_values($record)[$i];

            if (is_null($value)) {
                $value = 'NULL';
            } else {
                $value = "'" . $value . "'";
            }

            array_push($temp, array_keys($record)[$i] . '=' . $value);
        }

        return $temp;
    }
public static function joinKeysAndValuesOfArray(array $record)
    {
        $temp = [];
        for ($i = 1; $i < count($record); $i++) {
            $value = array_values($record)[$i];

            if (is_null($value)) {
                $value = 'NULL';
            } else {
                $value = "'" . $value . "'";
            }

            array_push($temp, array_keys($record)[$i] . '=' . $value);
        }

        return $temp;
    }
public static function joinKeysAndValuesOfArray ( array $ record ) { $ temp = [ ] ; for ( $ i = 1 ; $ i < count ( $ record ) ; $ i ++ ) { $ value = array_values ( $ record ) [ $ i ] ; if ( is_null ( $ value ) ) { $ value = 'NULL' ; } else { $ value = "'" . $ value . "'" ; } array_push ( $ temp , array_keys ( $ record ) [ $ i ] . '=' . $ value ) ; } return $ temp ; }
Create an array of elements in the format 'array_key=array_value' of the argument array supplied

@param array $record Associative type of array
@return array $temp New array of elements in the format 'array_key=array_value' of the argument array supplied
Create an array of elements in the format array_key = array_value of the argument array supplied