laravel request all not working
-
i want to store some data into database using a form so that i am using request->all() but it only shows the token value and gender value only. other input values are not showing. how can i solve this.this is the code in my controller. laravel 5.7
public function storeRegister(Request $request) { return $request->all(); }
-
try with $request->only(['username', 'password']);
-
@root said in laravel request all not working:
$request->only(['username', 'password']);
there is nothing shows after submiting?? :(
-
can you post screenshots ?
-
send screenshot of your form
-
thanks everyone! i did not give the names for input fields, only given for radio input. thanks again!
-
Ohh .. ok bro.
-
@hashan ok bro good luck