function myFunction() { global $wpdb; // On se connecte a la base de donnees du site $table_name=$wpdb->prefix .`wp_bookly_Staff`; $sql = $wpdb->prepare("INSERT INTO $table_name (id, category_id, wp_user_id, attachment_id, full_name, email, phone, time_zone, info, working_time_limit, visibility, position, google_data, outlook_data, zoom_authentication, zoom_jwt_api_key, zoom_jwt_api_secret, zoom_oauth_token, color) VALUES(10, 7, 4, 0, 'Tes27 Tes27', 'test2@gmail.com', '', NULL, '', NULL, 'public', 71, NULL, NULL, 'default', NULL, NULL, NULL, '#2FE016'); $wpdb->query($sql); } Back to Top
ALTERNACOM

GRATUIT
VOIR