Nice tutorial. I have some questions: 1. Why use forward slash here \Validator::make(); 2. Why use first() here DB::table('products')->where('id',$id)->first(); 3. Same to view $errors->first('product_name'), but why or what is the meaning actually?
I hope you will give me answer as soon as possible. Thanks in advance.
Nice tutorial. I have some questions:
ReplyDelete1. Why use forward slash here \Validator::make();
2. Why use first() here DB::table('products')->where('id',$id)->first();
3. Same to view $errors->first('product_name'), but why or what is the meaning actually?
I hope you will give me answer as soon as possible.
Thanks in advance.