Hi all,
Is an elegant way to have test results ordered by group_id first, then by
test_date? Or I have to "butcher" getAllResults() function from
class_lab.php?
Something like ... passing one more parameter:
--------- class_lab.php --------------
function getAllResults($enc_nr='', $obg=''){
...
/*
obg (OrderByGroup) value is 'group_id,'
*/
$this->sql="SELECT * FROM $this->tb_find_chemlab WHERE
encounter_nr='$this->enc_nr' AND status NOT IN ($this->dead_stat) ORDER BY
$obg test_date";
...
}
---------------------------------------
Best regards,
lwd.
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Care2002-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/care2002-developers