Why it returns empty in variable X
class ProduitController extends Controller { private $X ; public function uploaderFils(){ . . . $this->X=$imageName; } public function AddProduct(Request $request){ . . . return ("Image Name". $this->X); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)