A
Anonymous
Guest
Hi there,
I have 2 strings that I pull from WordPress/gravity forms.
What i want to do is merge these 2 fields together to create a key/value pair in an array that i can then loop through later.
My data looks something like this but with more items.
strData = "jamie,smith,2003-12-23,male, 2 My Street, MyTown,MyCounty,EH12 3RE,1234,more strings";
strFields = "firstname,lastname,DoB,gender,address1,town,county,postcode,clientid,otherdata";
thanks
I have 2 strings that I pull from WordPress/gravity forms.
What i want to do is merge these 2 fields together to create a key/value pair in an array that i can then loop through later.
My data looks something like this but with more items.
strData = "jamie,smith,2003-12-23,male, 2 My Street, MyTown,MyCounty,EH12 3RE,1234,more strings";
strFields = "firstname,lastname,DoB,gender,address1,town,county,postcode,clientid,otherdata";
thanks