1

I have an iphone app. The user can complete a form. Then the data of the form are passed to a php script. There I parse.

Now, question is:

Is it possible to pass data from a php script to an html form(on a web site this time)?

I.e.

Json sent from the mobile to the php scipt:

{
  "Email":"klklkkl",
  "DueDate":"1454"
}

The php parse the aforementioned Json.

Now there is on the web site the same form. And I want to pass to the two input boxes that are contained there the aforementioned data. Is this possible?

2
  • 1
    You should look into using ajax. Commented Nov 7, 2012 at 13:55
  • What web site? Does your iphone app expect a webpage in return? Commented Nov 7, 2012 at 13:55

1 Answer 1

2

You'll need to use JavaScript in order to process this information client-side. The combination of a server communicating via XML with a client-side JavaScript script is often called AJAX. Or: Asynchronous JavaScript and XML.

However, I recommend you use JSON instead of XML because you can send the same information with far less characters (bytes), if you use it correctly.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.