I’m kind of new to Laravel. I have 2 separate pages, one is a form for teachers and one is a form for parents. The parent form works completely fine and I can see the results in my database, however, my teacher form wont submit. The page refreshes and that’s all. I noticed my Route for my teacher …
I wanna create a new table from the data of two tables
I have a A table to store the product name, the quantity and input day of goods in stock. In adverse conditions, invoices for the above products will be sent later. I will put the product name and invoice quantity in B table. The problem here is that I want to check the quantity of goods with invoice and with…
diglactic/laravel-breadcrumbs, is there a way to change the parent to custom links?
i used some breadcrumbs that look like this it work but my app is in somewebsite.com/myapp/ I want to make the parent go to /myapp/ instead of somewebsite.com is there a way to do that ? Answer Project maintainer here, guessing you’ve solved this by now but figured I’d reply all the same. Breadcru…
How to save current state of html body php
I have a html website with Sortable.js. I want to save the current state of the body when a user rearranges the list and clicks a save button. I don’t want it to save to local storage but directly to the hosted file, replacing the body html with the new rearranged version. I believe what I’m trying to achieve…
Laravel 5.8: POST Route Does Not Seem To Be Working
I’m using Laravel 5.8 for my project and in this project, I have added this route: Route::post(‘course_admin/{id}’,’CourseController@AcceptWalletCourse’)->name(‘accept.walletCourse’); And here is …
How to set a maximum limit in WooCommerce orders per item & per day
I want to allow only a specific number of orders per product per day on my shop. Any idea which hook do I have to add? Thanks Answer The code below uses the product ID to get the total quantity for the current day. If this is higher than or equal to the $dailyOrderLimit that you set (in my example,
Cannot concatenate with the link
Hello why is it that I cannot include in the link when I concatenate? here is the code. But the $userverifcation is not included in the link even when I concatenate it? Here is the sample link: http://localhost/Mailer/verificationForgot.php?code= Zk8gIT enter image description here As you can see it is not in…
PHP: Write values of associative array in a column of CSV file based on their keys
I have this associative array with a key “key1” and another “key2”: this is my code for write the csv file: result is something like. All the information in line: Is there a way to write these values in the column based on their key? The result should be: Answer You can do this with a …
SimpleXML looping through
I get product data via xml like that Spielberger Mühle <…
the owlCarousel does not work properly, it does not move and I cannot advance the page either
The carousel does not move, it already initializes, check the libraries it is in perfect order; but even so it does not move by itself and not by touching the buttons. I have the latest version of the owlCarousel and jquery library. I tried updating libraries and I also tried using the min and normal libs. I …