Skip to content
Advertisement

Database update through checkbox change

For my thesis, I am working on a program for checking cars. Currently, I am working on the user management now I have encountered the problem that the database needs to be updated when a checkbox is changed status. Image checkboxes: Now I have already started looking a bit on how to execute a PHP function when this happens, and

new laravel package not recognized

I was writing my first laravel package, so I could use it and understand how packages work and learn how to write packages and etc. But my project didn’t recognize the package that I wrote. Here is my package Github link: https://github.com/IIIphr/Shamsi_Calendar And this is my main project: https://github.com/IIIphr/aimeos_shamsi I use this command to add my package to the app:

Mongodb php datetime filter not working properly

I use mongo db with php I need a last 1 hour data. I implement as like bellow. PHP CODE I need a count result. thanks in advance Answer I am not so familiar with PHP, but I think $client->$db_name is equal to $client->selectDatabase($db_name) However -> does not work with variables, so $client->$db_name may fail. Try this one: I never

Transform text coma in an array

I am working with the PayPal API and I am trying to add multiple items to my itemList. My problem is that to make the itemList work, the array needs multiples variables: I am using a loop before, to set-up the items, which I am trying to gather into one variable: It doesn’t work and I think that the problem

PHP – Can’t log out and show alert message at the same time

I have a PHP login system where you can delete your account/profile if you’d like to. When the user clicks on the button I want them to be logged out, their account to be deleted and an alert message (JavaScript) saying that their account has been deleted. The problem is that the alert message doesn’t appear when I include the

Advertisement