Anil Labs

Tuesday, June 14, 2011

How to write a webservices using php with json format

5 comments:

  1. [...] How to rectify json_encode returns null in php web services. In the previous post we know about How to write a webservices using php with json format . There is small issue with some special character return null when convert the string into [...]

    ReplyDelete
  2. How do I call the php webservice using jQuery mobile & display the json results ?

    ReplyDelete
  3. @U2 I wish you have a look into
    http://tinywall.info/2011/10/19/facebook-twitter-like-json-feeds-with-php-javascript-ajax-jquery-mysql/ for fetching Info and use it in jquery mobile too.

    ReplyDelete
  4. You should use Mysqli istead the old and deprecated method you are using in this tutorial.

    ReplyDelete
  5. Can I call this webservice from html file just opened in a browser instead of calling http://localhost ...etc, then only we can say it is a webservice

    ReplyDelete