Added Many to Many Linkage between contacts and documents, asset, credential linkage and unlinkage in contact details, more to come

This commit is contained in:
johnnyq
2024-11-25 23:55:33 -05:00
parent 8c296de205
commit 8968476b7c
6 changed files with 315 additions and 11 deletions

View File

@@ -260,10 +260,10 @@
$sql_contacts = mysqli_query($mysqli, "SELECT * FROM contacts WHERE contact_archived_at IS NULL AND contact_client_id = $client_id ORDER BY contact_name ASC");
while ($row = mysqli_fetch_array($sql_contacts)) {
$contact_id = intval($row['contact_id']);
$contact_name = nullable_htmlentities($row['contact_name']);
$contact_id_select = intval($row['contact_id']);
$contact_name_select = nullable_htmlentities($row['contact_name']);
?>
<option value="<?php echo $contact_id; ?>"><?php echo $contact_name; ?></option>
<option value="<?php echo $contact_id_select; ?>"><?php echo $contact_name_select; ?></option>
<?php } ?>
</select>