1

How to pass below array from Andriod? I want to pass this array to PHP.

b_array=[ [1,y],[3,y],[4,n],[5,n],[99,y],[1001,y],[1002,n],[1003,y],…]

How to received array (GET / POST ) in PHP. My Database structure required data in two part

part 1 ( id )> 1
part 2 ( status )> y

b_array will be one variable pass from android and b_array length cant be fix. b_array length depends on user input.

Shadab Khan
  • 93
  • 1
  • 9

1 Answers1

1

First, use okhttp to send GET request.
Second, make b_array to json, xml or etc which can represent array.
Third, parse those request at PHP-side.

Sung Min Lee
  • 154
  • 7