0
$data['slug'] = str_replace(' ','-', $request->slug);
導致錯誤laravel蛞蝓後不工作的孟加拉的語言,但英語做工精細
Sorry, the page you are looking for could not be found.
$data['slug'] = str_replace(' ','-', $request->slug);
導致錯誤laravel蛞蝓後不工作的孟加拉的語言,但英語做工精細
Sorry, the page you are looking for could not be found.
這裏是解決這個的其他方式。使用laravel slug str_slug($request->slug)