I\'m having problems using params in the ORDER BY section of my SQL. It doesn\'t issue any warnings, but prints out nothing.
ORDER BY
$order = \'column
Create an if-else condition. If(ascCondion ) then bind the values but hard code ORDER BY columnName ASC Else Bind the values but hard code ORDER BY COlumnName DESC