Run A Query In Trigger
Posted: Thu Sep 03, 2009 2:00 pm
What is the best way to submit a query in a trigger?
For example:
$idvalue=$record->display('somecolum');
Run following query and store date:
select col1,col2 from table where id='$idvalue';
Thanks.
For example:
$idvalue=$record->display('somecolum');
Run following query and store date:
select col1,col2 from table where id='$idvalue';
Thanks.