File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 147147
148148<p>
149149<label for="key">Key:</label>
150- <input type="text" name="key" id="key" size="30" maxlength="30" <?php echo isset ($ _GET ['key ' ]) ? 'value=" ' .format_html ($ _GET ['key ' ]).'" ' : '' ?> >
150+ <input type="text" name="key" id="key" size="30" <?php echo isset ($ _GET ['key ' ]) ? 'value=" ' .format_html ($ _GET ['key ' ]).'" ' : '' ?> >
151151</p>
152152
153153<p id="hkeyp">
154154<label for="khey">Hash key:</label>
155- <input type="text" name="hkey" id="hkey" size="30" maxlength="30" <?php echo isset ($ _GET ['hkey ' ]) ? 'value=" ' .format_html ($ _GET ['hkey ' ]).'" ' : '' ?> >
155+ <input type="text" name="hkey" id="hkey" size="30" <?php echo isset ($ _GET ['hkey ' ]) ? 'value=" ' .format_html ($ _GET ['hkey ' ]).'" ' : '' ?> >
156156</p>
157157
158158<p id="indexp">
Original file line number Diff line number Diff line change 6969 case 'hash ' :
7070 $ values = $ redis ->hGetAll ($ _GET ['key ' ]);
7171 $ size = count ($ values );
72+ ksort ($ values );
7273 break ;
7374
7475 case 'list ' :
7879 case 'set ' :
7980 $ values = $ redis ->sMembers ($ _GET ['key ' ]);
8081 $ size = count ($ values );
82+ sort ($ values );
8183 break ;
8284
8385 case 'zset ' :
You can’t perform that action at this time.
0 commit comments