Skip to content

Blancer.com Tutorials and projects

Freelance Projects, Design and Programming Tutorials

  • Video
  • tutplus
  • Themes
  • graphics
  • code
  • Audio
  • 3d
  • Featured Projects
    • Wow Projects
  • News
    • Fiverr Clone
    • Kickstarter-clone
    • Tech news
  • Contact us
    • Report a Page!

Add single quotes when encoding data in php

I have a array :

$arr = ['name', 'age', 'address'];
$impString = implode(',',$arr); 
// result : "name','age','address"

The result I want: "'name','age','address'"

Help me please.

Author BlancerPosted on 2021/12/03Categories PHP

Post navigation

Previous Previous post: php append pdf to pdf and check the page template first
Next Next post: Play background music node js

Search

Cryptocurrency Exchange Script

 Cryptocurrency Exchange Script Binance Clone

Kickstarter Clone

Kickstarter Clone

Crowdfunding software

EVM Wallet / Ethereum Multichain Wallet

groupon clone script

  • Explore our Multichain Wallet
  • Discover the Ethereum Wallet
  • Why choose Blockgum as a Geth Alternative?
  • Benefits over Moralis: The Blockgum Advantage
  • EVM Wallet Features
  • Ethereum Deposit Tools and Solutions
  • Ethereum Deposit Tracking Documentation
  • Ethereum Mobile Wallet
  • Secure BNB Wallet by Blockgum
  • Telegram Channel
  • Video
  • tutplus
  • Themes
  • graphics
  • code
  • Audio
  • 3d
  • Featured Projects
    • Wow Projects
  • News
    • Fiverr Clone
    • Kickstarter-clone
    • Tech news
  • Contact us
    • Report a Page!
Blancer.com Tutorials and projects