laravel / ideas

Issues board used for Laravel internals discussions.
938 stars 28 forks source link

Input request value return null #2468

Open phantomaxe opened 3 years ago

phantomaxe commented 3 years ago

Class UserController extends Controller {

private $username;
Private $sex;
private $age;
private $country_id;
/**
 * Display a listing of the resource.
 *
 * @return \Illuminate\Http\Response
 */
public static function index()
{

    $user = User::getuserData();
    $idData = Edit::editIdSelect();

    return view('index')->with('user',$user)->with('idData',$idData);
}
phantomaxe commented 3 years ago

https://github.com/phantomaxe/laravel-project.git

phantomaxe commented 3 years ago

https://github.com/phantomaxe/laravel-project.git