muda essa linha...
return $sth->fetch()[0];
tenta deixar ela assim:
return $sth->fetch();
info
Group: Campones
Joined: 14/03/19
Posts: 15
Reputation: +4
Gender: Masculino

muda essa linha...
return $sth->fetch()[0];
tenta deixar ela assim:
return $sth->fetch();
Em 31/08/2019 em 00:34, davidwcr99 disse:muda essa linha...
return $sth->fetch()[0];tenta deixar ela assim:
return $sth->fetch();
Valeu, amigo funcionou
info
Group: Campones
Joined: 14/03/19
Posts: 15
Reputation: +4
Gender: Masculino

Por nada, prazer te ajudar. Precisando só falar.
info
Group: Diretor
Joined: 12/05/12
Posts: 818
Reputation: +578
Gender: Masculino
Tibia Character: [ADM] Night

info
Group: Campones
Joined: 18/07/19
Posts: 39
Reputation: 0
Gender: Masculino
Ola galera, estou tentando abrir meu gesior porem estou com o seguinte problema.
Parse error: syntax error, unexpected '[' in C:\xampp\htdocs\pages\latestnews.php on line 9
como posso resolver isso?
vurus total scan: https://www.virustotal.com/gui/file/9eee824c551b2d7056b49e3d8389990a76053c744dfe08907502803e8af647c6/detection
latestnews.rar