I am getting this error:
Parse error: syntax error, unexpected T_SL on line 23
Here is line 23:
$selectorder =
Check for whitespace after <<. There should be no blank characters.
<<. There should be no blank characters.