Hi All,
i have an variable $a holds the below information when dumb
var_dumb($a) it will produce the below result:
array(1)
{
[0]=> array(1)
{
[0]=> string(5) "22651" } }
here i want to pass the 22651 no in the sample url like below
api.devenetwork.com/22651
i tried like
api.devenetwork.com/"$a" it prints like api.devenetwork.com/"$a"
api.devenetwork.com/' .$a. ' it prints like undefined variable a
kindly help me to solve the problem.
Thanks for all who helped me a lot
how to get the array values and pass it to the url?
Moderator: General Moderators
Re: how to get the array values and pass it to the url?
Your post is inconsistent. Please post your actual code.
Re: how to get the array values and pass it to the url?
The above code only I have and I don't have actual code.what's your doubt in this let me know i can clarify you?
Re: how to get the array values and pass it to the url?
So the code you haven't written doesn't work?
Re: how to get the array values and pass it to the url?
I will share the code later bro thanks for your support bro
Re: how to get the array values and pass it to the url?
okay bro thank you so much:)