How to upload multiple images on frontend to ACF gallery using update_field

Argh..easy to fix:

instead of

include( ABSPATH . 'wp-admin/includes/image.php' );

use

require_once( ABSPATH . 'wp-admin/includes/image.php' );

Hope this helps someone!

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)