I'm new to SQL and am wondering if I need to use
wpdb->prepare for the following query to a table I've created
global $wpdb; $tablename = $wpdb->prefix . "my_custom_table"; $sql = "SELECT * FROM " . $tablename . " ORDER BY date_created DESC"; $resulst = $wpdb->get_results( $sql , ARRAY_A );
Do I need to use
prepare here? How would I do that?