Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. JSON and Mysqli

JSON and Mysqli

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
helpandroidjsonquestion
4 Posts 3 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vinay dahiya
    wrote on last edited by
    #1

    The problem I am facing is that I am getting the username and password from android app in json form and then I am decoding that json. Now I have to check the username and password using mysqli. So how should I do this? Please help asap.

    L 1 Reply Last reply
    0
    • V vinay dahiya

      The problem I am facing is that I am getting the username and password from android app in json form and then I am decoding that json. Now I have to check the username and password using mysqli. So how should I do this? Please help asap.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      vinay dahiya wrote:

      So how should I do this?

      The obvious way would be by querying the database. Exactly what is your problem?

      M 1 Reply Last reply
      0
      • L Lost User

        vinay dahiya wrote:

        So how should I do this?

        The obvious way would be by querying the database. Exactly what is your problem?

        M Offline
        M Offline
        Mohd Shibli
        wrote on last edited by
        #3

        U can simply copy the json content using file_get_contents('xyz.json') And then decode the file contents using json_decode() and insert them into database using mysqli

        L 1 Reply Last reply
        0
        • M Mohd Shibli

          U can simply copy the json content using file_get_contents('xyz.json') And then decode the file contents using json_decode() and insert them into database using mysqli

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          1. You are six months late, OP has probably solved it or given up. 2. You did not mean your response for me.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups