if($edit_id) {
if(isset($_REQUEST['price']) && logged_in_as_contractor()) {
db_update('tasks', 'title,url,description,state,price', $title, $url, $description, $state, $price, 'where id=%i', $edit_id);
if($edit_id) {
if(isset($_REQUEST['price']) && logged_in_as_contractor()) {
db_update('tasks', 'title,url,description,state,price', $title, $url, $description, $state, $price, 'where id=%i', $edit_id);