Page 1 of 1
help pls
Posted: Fri Apr 09, 2010 4:38 am
by 8707
Code: Select all
$product_result = $adb->pquery("select productid from vtiger_products where (productname like 'Wood%')");
if ($focus->column_fields['product_id'] == $product_result)
{
$focus->column_fields['assigned_user_id'] = 91;
}
In above code, the query will return 3 value.(For ex 111,222,333). When user select the product_id and if the id is equal either one of the return value, it will assign it to the user with id ==91. Anyone have any idea?
Re: help pls
Posted: Sat Apr 10, 2010 1:28 pm
by minorDemocritus
I've no clue what the objects $adb and $focus do.