AhmedSaber's avatar

add image to the project

i want to know how to add image to my project in the following code.

public function store(Request $request)
{
    Project::create(
        request()->validate([

            'title' => 'required',
            'description' => 'required',
            'reg_start' => 'required',
            'reg_end' => 'required',
            'time_start' => 'required',
            'time_end' => 'required'

        ])
    );

    return redirect('admin/projects');
}
0 likes
1 reply

Please or to participate in this conversation.