I want get the value from database, because I need that value to sum it with other value and I cant take it. Here is an example of what I need:
user_id    task_progress
1              2
3              4
5              6
I used
$check = mysql_query("SELECT task_progress FROM dotp_tasks WHERE (user_id = '3')"); 
$result = mysql_fetch_array($check);
And it should echo 4 but it echo Array. What am I doing wrong? And after that can I normally make this
$new=$value + $result;
 
     
     
    