How to print array of specific item

I have get the following array from my database using mysql query in PHP. What is way to print the specific item (e.g: staff_name and coupon)?

{“items”:[{“ca_id”:1,”appointment_date”:”2018-07-02 08:00:00″,”service_name”:”Eye check-up”,”service_price”:50,”service_tax”:0,”wait_listed”:false,”deposit_format”:null,”number_of_persons”:”1″,”units”:”1″,”duration”:”3600″,”staff_name”:”Mc Miltony”,”extras”:[]}],”coupon”:null,”subtotal”:{“price”:50,”deposit”:0},”customer”:”Mr Jhon”,”tax_in_price”:”excluded”,”tax_paid”:”5.00″}

Read more here:: How to print array of specific item

Leave a Reply

Your email address will not be published. Required fields are marked *