how to +1 to the MAX record from a field
<p>.i have the following code:</p>

<pre><code>$task_id = mysql_query("SELECT MAX(task_id) from it_task");
echo $task_id;
</code></pre>

<p>.what I want to do is to get the highest value from a field named task_id on the table it_task. Instead of getting a result which is an integer I get "Resource id #5". how do i get around this?</p>
