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

Inizio della pagina

Reply to this message
Autore: Vic
Data: 2007-04-21 18:48 -000
To: hampshire
Oggetto: 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.