PHP to Json, create Json file

Asked

Viewed 73 times

0

So, I have a php program that created a connection to the database. Now I want to know, necessarily I need to convert this information from php to Json to use in Xamarin ? And if it’s really necessary, how can I do it? I passed the data to json with json_encode(), but I don’t know how I would integrate with my application. You can help me ?

  • Your question was not very clear. In Xamarin you make a request for this PHP to get some information? If yes, try at the end of your PHP function to add the following code: exit(json_encode($variavel)), and take this feedback on your app in Xamarin.

  • I’m having a hard time creating this "connection" between PHP and Xamarin.

  • Take a look at this documentation Xamarin to learn how to consume webservices. I think it will help to solve your problem.

  • You helped too much! Thanks a lot man!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.