- Joined
- Sep 7, 2015
- Messages
- 2,684
- Solutions
- 127
- Reaction score
- 2,130
Hello, I cannot get this to work.
I'm using gesior.
What I'm trying?
I'm trying to get "players_record" value into variable.
It's showing nothing... When I try:
The site fail to load.
I'm using gesior.
What I'm trying?
I'm trying to get "players_record" value into variable.
Code:
$record = $SQL->query("SELECT `value` FROM `server_config` WHERE `config` = players_record");
echo $record;
It's showing nothing... When I try:
Code:
$record = $SQL->query("SELECT `value` FROM `server_config` WHERE `config` = 'players_record'");
echo $record;
The site fail to load.