خرید بک لینک

Vote count: 0

Please can any one give a idea about this type validation.

public function joinclass()
{
  if($class_code = $request->get('class_code');
    $classroom = classroomModel::where('class_code',$class_code)->first();
    var_dump($classroom->toArray());)
   {
      $class = new joinclass();
    $class -> user_id = Auth::user()->id;
    $class -> class_code = $request['class_code'];
    $class -> save();
   }else{
     Flash::message('Your code is not found in databse');
    }
}

asked 23 secs ago

برچسب: how to make slime,how to make money,how to make french toast,how to make buttermilk,how to make a resume,how to make money online,how to make pancakes,how to make jello shots,how to make ice cream,how to make money fast, نویسنده: استخدام کار تاريخ: جمعه 19 شهريور 1395 ساعت: 21:50

صفحه بندی