I am trying to delete multiple images using product_id, I am able to delete one image at a time but am figuring out how i can insert a variable like $i=0 to a loop over but it does not work in laravel….
Laravel globally installs 4.1.1 instead of 8.0.1
I am trying to install laravel 8 globally but it is installing version 4.1.1 every time. I use this code: composer global require laravel/installer Then i check version by writing this: laravel -V …
search folder for any subfolder with name specified by me and get its id
hello I am trying to do a search on a google drive folder, if the subfolder exists then I get the id of the subfolder if not then I need to create it and get its id so i can upload files to it later. …
Html table printing from array
I have a csv in such a format. I am trying to build an html table like show below. Sem 1 , Subj 1 , 75 , 100 ; Sem 1 , Subj 2 , 95 , 100 ; Sem 1 , Subj 3 , 88 , 100 ; Sem 2 , Subj 2 , 95 , 100 …
IlluminateDatabaseQueryException: SQLSTATE[HY000] [2002] in file Illuminate/Database/Connection.php on line 678
I have Laravel installed on Mac using docker. I connecting to it with postman The method ge returns this error: IlluminateDatabaseQueryException: SQLSTATE[HY000] [2002] Connection refused (SQL: …
Dynamic dropdown with auto select one option and it’s sub-dropdown options
I have a dropdown in which one is for states and second one is it’s sub category, which shows name of cities on basis of first dropdown. Right now user need to select one category then subcategories …
PhpSpreadsheet Reader Exception Failed to load /root_dir/public/laravel-excel-fLRGTlw9uEE2XRz0k1fXdcg2wfs2RWy7.html as a DOM Document
I have tried everything for resolving this issue but nothing worked. php artisan cache:clear php artisan view:clear php artisan route:clear php artisan config:clear Also Updated my Dependencies …
Require Once Failing Relative Path
I have the following file structure in my project: + server + api + product – get.php + database – product.php + model – product.php + service – product.php + utilities …
PHP: Can’t Set Open_basedir
I try to execute: var_dump(ini_set(“open_basedir”,ini_get(“open_basedir”))); with PHP and get false. Apache 2. PHP Version: 5.3.28, it should change it from script, how i read at …
Automatically function for a form on webpage without click on button
Here is my code for going to the Paypal payment gateway for the item after a click on the “Buy Now” Button, But I want this function to be without even click on the “Buy Now” button, my meaning is when then webpage opened automatically go to the Paypal payment gateway without a click o…