Skip to content

Vivek Moyal

PHP Tutorials for Beginners

  • PHP
  • CWP
  • Jquery
  • CSS
  • Tech-Byte
  • Google

Tag: Array

Converting PHP Array to JSON in PHP
Posted in: PHP

Converting PHP Array to JSON in PHP

Written by Vivek Moyal October 2, 2020October 2, 2020 Leave a Comment on Converting PHP Array to JSON in PHP

Converting an PHP array to JSON in PHP is quite easy and useful. These days while creating API’s almost everyone is using JSON. Also while showing data from database we use to get it in JSON format these days. JSON is accessible in PHP as well as Javascript or Jquery and other languages also.  JSON […]

Posted in: PHP

Get Last 7 Dates in Array Using PHP

Written by Vivek Moyal December 10, 2016 1 Comment on Get Last 7 Dates in Array Using PHP

While working over some project where i have to show the data in Chart according to the last 7 days. I was stuck over to get the last 7 dates for further working. So here i am writing the function through which i got the last 7 Dates in Array using PHP. In this i […]




Get tutorials delivered to your inbox!

Recent Posts

  • Generating Random Alphanumeric / Numeric Values in PHP December 10, 2020
  • Save HTML Form Using Jquery and PHP Without Page Refresh October 22, 2020
  • Save Html Form Using Ajax and PHP Without Page Refresh October 10, 2020
  • Create Excel .xls File using PHP Spreadsheet and Mysql October 5, 2020
  • Converting PHP Array to JSON in PHP October 2, 2020

Copyright © 2021 Vivek Moyal.
Theme Galaxis by ScriptsTown.

Back to Top