0

I have write Php web services to fetch all user details.

it return Data in Json format ,out put like this .

{
    "id": "10",
    "name": "arun",
    "mobile": "0000555666"
},{
    "id": "11",
    "name": "Joy",
    "mobile": "0000555111"
},

Right now issue was , if database have more than 1000 user ,API can't get data,loading screen and stuck after some time . Please help solve out this issue.

Biju s
  • 420
  • 1
  • 7
  • 16

1 Answers1

1

Update "max_input_vars" to higher values in php.ini file. Or you can put "php_value max_input_vars 8000" this line of code in .htacess file as well.

Please refer link for more details How to increase maximum POST variable in PHP?

Community
  • 1
  • 1
Rahul Patel
  • 5,248
  • 2
  • 14
  • 26