Skip to content

How to use JSON encoded array in PHP

Essentially I have the following PDO Script that does an insert statement on a table – the data is received using a POST. Currently the query runs once and uses the values from the POST. $pdo->…

How to instantly suspend user and not after user log out

I have one script that works via mysql and php. Now I have a problem, namely if the user does not pay the monthly subscription, it is necessary after 10 days from the day of the invoice creation to suspend the user’s account but the problem is: the user account is suspended only after the user is log ou…