I am trying to update my database using AJAX.
I have a form which contains text fields.
I POST those values using serialize function in j query.
Got output:
Firstname=Sometext1&Lastname=Sometext2&Phone=12345
Then i used the split() function so the result is
Firstname=Sometext1,Lastname=Sometext2,Phone=12345
Now how do I use these values to insert into my database. How can I get individual values i.e. Sometext1,Sometext2,12345 in different variables