trigger opening a modal from an HTML a tag with parameters JQuery

First and foremost, you need to create an available modal (which can be a Bootstrap modal).

<div class="modal fade" id="flagtick_modal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered">

Next, we will select tag a to associate with the modal and enable its opening functionality.

<a href="javascript:void(0);" data-toggle="modal" class="flagtick_tag" data-target="#flagtick_modal"
   data-flagtick_id="<?php echo $row['id']; ?>"
   style="text-decoration: none !important; cursor: pointer;">

Then, represent the logic above as a JavaScript script:

$(document).on('show.bs.modal','#flagtick_modal', function (event) {
	let el = $(event.relatedTarget);
	let param = el.data('param');
	if (undefined !== param) {
You need to login to do this manipulation!