Warning: mysql_query() expects parameter 1 to be string, resource given in /home/../index.php on line 14

lalinea 14 es esta

Código PHP :

$sql = "SELECT * FROM cliente $where";
   [color=red]$resultado = mysql_query($conex,$sql);[/color]

mepodrian dar una ayuda