Re: Code




"FXDWG" <FXDWG2002@xxxxxxxxxxx> wrote in message
news:ZkDtj.27493$we5.14057@xxxxxxxxxxx
put this just before the 'if':

echo '<pre style="font-size:10px;">' . print_r(array($row, $user), true)
. '</pre>';

then post the results...we're trying to see the variable values inside
the user object and the $row array at the time of evaluation in the
'if'...i'm guessing the values aren't what you're expecting and the
conditional code is not being run.


Ok, I did it. The results are an awful lot of code. I'll copy & paste
here. But if this is a no no, Iwill gladly send the results to you in a
file.
Sorry if I'm breaking a protocol for the news group.

Here is the code I got in return.

well, i didn't see exactly what i needed to see. if you echo
$user->optionget('viewavatars'), what do you get? also, check to see that
you have 67_1202949576.gif in the directory.

btw, we'll get there...don't worry. :)


.



Relevant Pages

  • Re: Calculating vacation accrual
    ... i'm guessing it could be ... place the evaluation month in column F ... >> Could you please clarify. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Lazy evaluation in an impure language?
    ... if an expression contains a call to an impure function, ... the programmer has option of using call-by-name via a keyword (maybe ... evaluation is done at every use of the name, ... the risk of people guessing the meaning and guessing wrong. ...
    (comp.lang.functional)