W
W
WiNNeR_tig2018-02-12 13:40:44
PHP
WiNNeR_tig, 2018-02-12 13:40:44

Redis writing and reading an array?

Записать: $redis->hmset($key, $result);
Считать: $redis->get($key);

And if the write passes without errors, then when reading, I get a void print_r also gives nothing. What am I doing wrong?
Writing a normal string works like this:
Записать: $redis->set($key, $result);
Считать: $redis->get($key);

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question