Re: Accessing values of an $entry object inside a function

2007-02-28 Thread Andrej Ricnik-Bay
*sigh* Disregard the last mail, I was having a major blond day. It's all well - I was trying to compare values that I hadn't retrieved

Re: Accessing values of an $entry object inside a function

2007-02-28 Thread Andrej Ricnik-Bay
On 3/1/07, Peter Marschall <[EMAIL PROTECTED]> wrote: Hi Andrej, Hi Peter, and as always thanks for the response! Don't put the evaluation statement inside quotes: printf $entry->get_value( 'preferredName' )."$field\n"; should do. Returns an empty value, even though I can see (with ad

Re: Accessing values of an $entry object inside a function

2007-02-28 Thread Peter Marschall
Hi Andrej, On Wednesday, 28. February 2007 04:05, Andrej Ricnik-Bay wrote: > Sorry for asking something that's probably trivial; I'm trying to > pass an $entry to a series of functions that do some checking > and build an array for a modify operation as they go. > > But for some reason I can't se

Accessing values of an $entry object inside a function

2007-02-27 Thread Andrej Ricnik-Bay
Hi Guys, Sorry for asking something that's probably trivial; I'm trying to pass an $entry to a series of functions that do some checking and build an array for a modify operation as they go. But for some reason I can't seem to access values. if( $found_empNo == 1 ){ update_edir