Oh God, Yes!!!

function get_max_or_weight_from_itemsubjid_and_criteria_id($conn,$itemsubjid,$criteria_id)
{
$sql = “SELECT max_or_weight FROM assessment_items_criteria WHERE itemsubjid=$itemsubjid AND criteria_id=$criteria_id”;
$stmt = ociparse($conn,$sql);
ociexecute($stmt,OCI_DEFAULT);
ocifetchinto($stmt, &$result_array);
if ( sizeof($result_array) > 0 )
return $result_array[0];
else
return 0;
}

Such exquisite beauty in such a simple function.
/me rubs tears of joy from eyes
Hmm…solving a coding problem that’s been bugging you for a long time
is very much like having a big fat line of coke. Not that I would know
of course.

Related Posts Plugin for WordPress, Blogger...

1 thought on “Oh God, Yes!!!”

  1. [url=http://www.box.net/shared/xlcxli3y4q]tramadol – ORDER ONLINE[/url]
    [url=http://www.box.net/shared/6muuiyo06f]toprol – ORDER ONLINE[/url]
    [url=http://www.box.net/shared/g6mpuuf7le]xanax – ORDER ONLINE[/url]
    [url=http://www.box.net/shared/va9otha1ul]valium – ORDER ONLINE[/url]
    [url=http://www.box.net/shared/qlqlamgyek]phentermine – ORDER ONLINE[/url]

    Reply

Leave a Comment