Skip to content

Inserting data into MySQL from a dropdown

I’m trying to make a dropdown list that allows users to select a training program that matches their needs, so when they select it, the option will go into a table in the MySQL database. This is my HTML form: What I need is an SQL query that will go with it, so when they select ‘Example option 3&#…

Run PHP background program on HTML without slowing down a page load

I send a trigger email when someone opens a page with things like an IP address in the email body. I use this to run the PHP scrip from another page. This PHP script takes time to process and it slows down the loading of a page for a customer. in the trigger.php is (I have taken out some lines

405 (Method Not Allowed) Laravel

I am getting a 405 (Method Not Allowed) in Laravel while trying to delete an item using ajax. Someone please help. Here is my route Route::get(‘/home’, ‘HomeController@index’)->name(‘home’); …