Sorry, was trying to keep it short. I created fucntions such as
for ($i=0; $i<count($Values); $i++){
if ($Values[$i]>$max){$max=$Values[$i];}
}
Using a fixed array:
$Values=array(120,190,130,155,150);
Now i'm trying to get the data from a database. But the problem I cant figure out how to change everything so it uses the data from the database. I was wondering if there was just a way to get the data from the database, and write it into an array so that it will be the same at variable
$Values=array(120,190,130,155,150,.......);
Make any sense? 😕