HOOKS $data['selectedID'] question
Posted: 2013-01-17 03:50
I am working on a HOOKS application where i need to pull some of the records data to perform validation with. In this case the $data['field'] function is working fine. I am able to access all the content that i need. I have a problem with collecting the records identity via $data['selectedID']. I am not able to get any results when using the selectedID or in trying to obtain the counter value (counter is the field defined as the Primary Key).
The function i am using is: function user_access_after_update($data, $memberInfo, &$args). ECHO $data['selectedID'] followed by DIE() yields no data but ECHO $data['field'] followed by DIE() echos the correct data.
After chasing this all day i am looking for any suggestions?
Thanks
The function i am using is: function user_access_after_update($data, $memberInfo, &$args). ECHO $data['selectedID'] followed by DIE() yields no data but ECHO $data['field'] followed by DIE() echos the correct data.
After chasing this all day i am looking for any suggestions?
Thanks