9951 explained code solutions for 126 technologies


php-redisSet key value in Redis


$redis->set('a', 'hi');ctrl + c
$redis

Redis object after connection

set

save string value to the specified Redis key

'a'

name of the key to set value for

'hi'

value to store