Could not establish db connection

"); // Create a valid SQL statement // from form variables. $sql="SELECT * FROM ".$table. " ORDER BY ".$order; // Execute the SQL statement and // create a resultset. if(!(@$rs=odbc_exec($db,$sql))) die( "

Could not retrieve Resultset.

"); //display results odbc_result_all($rs); ?>