I'm very new at PHP and have only written smaller easier scripts. I have a script on my server that does what I want it to do, however, at the end of the script I want to run another script on my server.
This other script takes $_POST like this:
$decoded = json_decode($_POST['arrayWithUserAndAvailable'], true); //does it's thing.. How do I call this script from within my other script?
Do I need to create an object out of it/class. Don't know how object oriented programming works in PHP.
If anyone can give me some guidance I would be grateful!