Php return the error to the annex



  • Hello. The application is connected to the OBD on the server, where, for example, he's trying to add the username "Every." All the counts of the user name column are unique. On the php, there's something I've done so that only a unique meaning is included in this column, but what if, for example, "Everything" already has to get back and process a message about it?



    1. Make PHP scruple out through echo For example, the result of his work. Something like a line. For example success/error or 0/1 for successful bidding/offs.
    2. When you address this PHP scream, you'll get these values in the form of a server's response, and at that point you can handle them on the side android application.



Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2