Skip to content

Instantly share code, notes, and snippets.

@fayqLs
Created October 15, 2024 05:00
Show Gist options
  • Save fayqLs/bda4086d86573949043ba73aee8cad86 to your computer and use it in GitHub Desktop.
Save fayqLs/bda4086d86573949043ba73aee8cad86 to your computer and use it in GitHub Desktop.
EXTRAIR DADOS DA ARRAY E COLOCAR COMO STRING SEPARADOS POR VÍRGULA
<?php
$array = ["A", "B", "C"];
$dados = implode(", ", $array);
# RETORNO: A, B, C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment