Sign Up

welcome

Already have an account? Sign In

Sign In

welcome

Sign Up
Login with Google

Don't have account, Sign Up Here
Sign In Sign Up

letsrectify

letsrectify
  • Home
  • About Us
  • Contact Us
  • Jobs
Ask a Question
  • My Questions

Latest Questions

Komal Bhoma
Asked: 21-03-22

How to upload a image in different database table in laravel

  • 3

$productimage = time() . '-' . $request->name. '.' .

       $request->image->extension();

       $path = $request->image->move(public_path('path'), $productimage);

        $Attachments = Attachment::create([

           'product_id'=>$product,

           'name'=>$name,

           'path'=>$path,

       ]);

letsrectify

Categories

  • Technology
  • Food
  • Health
  • Sports
  • Science
  • Politics
  • Marketing

Policies

  • Terms & Conditions
  • Privacy Policy

About Us

  • About Us
  • Contact Us
  • Feedback

© 2025 All Rights Reserved by
Letsrectify.com