Perhaps, but this is a bit slower... Make a php array and fill it with restaurant values - (just split the restaurants with something like ';;;'). Then, make a new array with only values starting with a through d, then another one with values from e-g or whatever.
This will take more time, but it will be more flexible. Cause then you can check whether there are no values, and you can display a message saying so.