Skip to content
Advertisement

how to concatenate two array element values in php by special charcter?

i have two arrays given below

JavaScript

i want to concatenate two array element values by special character.given output below:

JavaScript

Advertisement

Answer

Try with array_map like this

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement