skip to Main Content

Print specific part from an URL by php

I would like to print only specific part from an Url like for example if i got on response an URL like this : https://tvoauth.zapi.com/?client=zapi-web-1&session=XRpC8tmn2_VUz6temt_j19BIGymiYyd5ZOLoWtp1H5U&scopes=false&redirect=https%3A%2F%2Ftv.zapi.com I want to print only this part exactly : XRpC8tmn2_VUz6temt_j19BIGymiYyd5ZOLoWtp1H5U I have tried to use…

VIEW QUESTION

How can I use substr on json object with for loop?

Could someone help on how to loop over response while using substr to get each variable. The variables would be Amount, Type, Balance, Date. I have the json response [ [ "AmountTypeBalanceDate", "$27.90Debit$6.3011/22/22, 3:32 PM", "$30.00Credit$34.2011/22/22, 5:13 PM", "$27.90Debit$4.209/12/22, 4:01…

VIEW QUESTION
Back To Top
Search