Page 1 of 1

HOOKS $data['selectedID'] question

Posted: 2013-01-17 03:50
by jeffc
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? :shock:

Thanks

Re: HOOKS $data['selectedID'] question

Posted: 2013-01-19 17:43
by a.gneady
Umm ... that sounds strange ... could you send me the project file to check this?