sanitize_sql_orderby

Ensures a string is a valid SQL order by clause.

Accepts one or more columns, with or without ASC/DESC, and also accepts RAND().

Input:
[?]

Have Feedback?

Let us know how we can improve this tool.
Share Feedback