I’m new to react and laravel and I am trying to boost my skills during this god awful lockdown. I’m following tons of tutorials but I keep finding that they are either incomplete, have very bad english or not indepth enough and skip over things too quickly. I don’t mean to sound ungrateful, …
E-commerce in Laravel
Good afternoon, I am making a website on e-commerce. And it allows me to add products and everything. But when I want to see my product list in admin panel and main page, I get two errors. Error …
POST http://localhost:8000/offers-ajax/store 419 (unknown status) Laravel AJAX
I’m a beginner in AJAX and trying to post data form by using AJAX, but this error shows in the console: POST http://localhost:8000/offers-ajax/store 419 (unknown status) I do not know why; I tried a lot but nothing seems to work. I tried to post data without using AJAX queries and it works fine. These a…
How to set input field’s max date from current date
<input type="date" name="date" min= > I want users to select a date between current date to next 7 days. This input …
Laravel: how to pass GET array to controller?
How to pass array of GET parameters to the controller? This is my route file routes/web.php: And my controller ‘app/Http/Controllers/Parser.php’: So, I expect to get an array of parameters like this: But if I pass GET array to my route path: http://example.com/ids?ids[]=1&ids[]=2&ids[]=15&…
Passing data from one controller to another through a route Laravel 7
I have setup a system that relies on the routes.php and I have now come across a problem which is that I need to pass a variable to a route which redirects to a controller and receive that variable in …
Uncaught SyntaxError: Unexpected token < in JSON at position
I am currently trying to make a system of “favorites”. It works correctly but in the console of my browser gives an error (image below) and I do not understand why it happens. I tried to find solutions but I can not understand them at all. Can anyone help me? index.php: scripts.js: The error I get…
PayPal checkout buttons JS to PHP [closed]
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. This post was edited and submitted for review 1 year ago and failed to reopen the post: Original close reason(s) we…
Laravel grouping or taking from list in six
I’m not sure the title of this topic is correct, I apologize, you suppose I have this list which I get them from the database: as you can see we can grouping them with the first part of each item that we can have that them in three groups, after grouping them I want to use foreach for each one
phpmyadmin 403 Forbidden after php downgrade from 7.4 -> 7.3 on CentOS 7 Apache
I have acquired VPS and got it with LAMP. I installed phpmyadmin and configured it’s phpmyadmin.conf file to make it accessible from browser and it was working. Later I upgraded my PHP 5.x to 7.4. version following this tutorial: https://computingforgeeks.com/how-to-install-php-7-4-on-centos-7/ After up…