one option: implode ( ' ' , $feedDrive ); that would make the values space separated
user8011997
–
user8011997
2017-09-16 03:31:51 +00:00
CommentedSep 16, 2017 at 3:31
print_r() is a function used for debug. Use implode(', ', $feedDrive)](php.net/manual/en/function.print-r.php) to generate a string that contains the values separated by comma and echo to display it. Or use a foreach loop to iterate over the array and process its (keys and) values in any way to want.
implode ( ' ' , $feedDrive );that would make the values space separatedprint_r()is a function used for debug. Useimplode(', ', $feedDrive)](php.net/manual/en/function.print-r.php) to generate a string that contains the values separated by comma andechoto display it. Or use aforeachloop to iterate over the array and process its (keys and) values in any way to want.