Re: Trying to play with SSI. Is this correct?

samedi 5 juillet 2014

Hi xBloodshed,

There are several syntax errors in the snippet you posted.


$whosonline(['num_users]') to $whosonline['num_users']

$whosonline('[guests]') to $whosonline['guests']


Round brackets are used for calling functions, the square ish brackets are used to dig inside an array. A combination of both is very rare. You might want to use var_dump to get an idea of what the array key names look like.


I hope that gets you any further :)






0 commentaires:

Enregistrer un commentaire

 

Lorem

Ipsum

Dolor