Similar to how you can insert into an array using code such as
$wpdb->insert( $table_name, $inputs); //where inputs is an array
I want to do a sql select statement with code such as
$wpdb->get_results("SELECT * FROM " . $table_name . " WHERE " . $input);
where input could contain several search parameters. Is anything like this possible?