Re: [Hampshire] [OT] Can anyone help me with some PHP?

Top Page

Reply to this message
Author: Vic
Date:  
To: hampshire
Subject: Re: [Hampshire] [OT] Can anyone help me with some PHP?
>> $employees[0] = _('None');
>
> Not sure exactly what you are doing out of context.


Nor I :-)

> The _('None') is being
> interpreted as a function because of the (). If you are assigning the
> value 'None' to an array element then a simple $employees[0] = 'None' will
> do.


It does appear to be a gettext-type of thing. I didn't know you could do
that in PHP. Unfortunately, my PHP interpreter dosen't seem to know about
it either :-(

Ho well...

Vic.