We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I use HMSET with redisent? I'm trying:
$array= array("IP", $IP, "ROOMNAME", $room); $redis->hmset("new_room", $array);
But I'm receiving an error:
PHP Fatal error: Uncaught exception 'redisent\\RedisException' with message 'Protocol error: invalid bulk length' (...)
The text was updated successfully, but these errors were encountered:
@magalvao All redis command arguments are arguments to the method. This should work for you:
$redis->hmset("new_room", "IP", $IP, "ROOMNAME", $room);
Sorry, something went wrong.
Now I understand. Thank you!
No branches or pull requests
How do I use HMSET with redisent?
I'm trying:
But I'm receiving an error:
The text was updated successfully, but these errors were encountered: