I need help determining the best way to extract the price value out of the strings in the array received from the API, and then reorder the array based on the lowest price values.
These are some of the data that I received from the API.
let luxcar_data = ["Ferrari70", "Bugatti45", "McLaren17"...
Current Situation
I created a php script, to start the python script.
Following is the script:
$python_file = "/var/www/web/test.py 2>&1 | tee -a /tmp/mylog 2>/dev/null >/dev/null &";
$command = "nohup python3 ".$python_file;
exec($command);
Problem:
After triggering the php script, the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.