Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Triggers - Obtaining data displayed in report

phpMyEdit General     Triggers - Obtaining data displayed in report
Post new topic   Reply to topic    
 
moi     Joined: 21 Jan 2005   Posts: 12  
Post Posted: 2005-10-10 16:08
Back to top  Reply with quote     

Hi,

I am looking to obtain data that has been displayed in the record prior to a trigger script being run, but can only seem to locate the $this->rec value. If as part of the record a field of 'Name' had also been displayed, (but was not part of oldrecs/newrecs) is there anyway that I can obtain it as a variable without executing another SELECT statement on the record id?

Thanks,
Moi

 
michal     Joined: 17 Jun 2003   Posts: 537   Location: Slovakia
Post Posted: 2005-10-11 11:20
Back to top  Reply with quote     

prior to a before trigger ?

in before trigger, there is already $oldrec (which is obtained by a select from db).

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy