Mysql Error:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER by bandwidth_combined DESC' at line 1

SQL: SELECT * FROM package WHERE user_id= ORDER by bandwidth_combined DESC

function $mysql->query("SELECT * FROM package WHERE user_id= ORDER by bandwidth_combined DESC")
{     File: /var/www/class/mysql.class.php     Line: 207  }

  was called by:

function $mysql->get_all("SELECT * FROM package WHERE user_id= ORDER by bandwidth_combined DESC", 1)
{     File: /var/www/class/package.class.php     Line: 42  }

  was called by:

function $package->get_all(null)
{     File: /var/www/user/sign_up.php     Line: 23  }