I have this url
$url = "first=10&getthis=list&result=seats_booked[]=B2&seats_booked[]=B5&seats_booked[]=A20";
parse_str($url);
echo $seats_booked[0];
I want to get the values of array seat_booked[]
.
I am trying this echo $seats_booked[0];
but it is returning an error.
How can achieve this? Thanks in advance.