Skip to main content
Copy edited.
Source Link
Peter Mortensen
  • 31.4k
  • 22
  • 110
  • 134

useUse the inbuilt function in php implode(arrayPHP,separator) implode(array, separator):

<?php  $ar = array("parth","raja","nikhar");  echo implode($ar,"/"); ?> 

result Result: parth/raja/nikhar

use inbuilt function in php implode(array,separator)

<?php $ar = array("parth","raja","nikhar"); echo implode($ar,"/"); ?> 

result : parth/raja/nikhar

Use the inbuilt function in PHP, implode(array, separator):

<?php  $ar = array("parth","raja","nikhar");  echo implode($ar,"/"); ?> 

Result: parth/raja/nikhar

Source Link
Parth Chavda
  • 1.8k
  • 1
  • 24
  • 31

use inbuilt function in php implode(array,separator)

<?php $ar = array("parth","raja","nikhar"); echo implode($ar,"/"); ?> 

result : parth/raja/nikhar