prepare($sql); $stmt->bind_param("i", $ticket_id); $stmt->execute(); $result = $stmt->get_result(); $ticket = $result->fetch_assoc(); ?> Ticket #<?php echo $ticket_id; ?>
">

" data-field="title" disabled>

UUID
"> ">P

Comments

Enable Markdown
Preview Markdown
prepare($commentsSql); $stmt->bind_param("s", $ticket_id); $stmt->execute(); $comments = $stmt->get_result(); while($comment = $comments->fetch_assoc()) { echo "
"; echo "
"; echo "{$comment['user_name']}"; echo "" . date('M d, Y H:i', strtotime($comment['created_at'])) . ""; echo "
"; echo "
"; if ($comment['markdown_enabled']) { echo ""; } else { echo htmlspecialchars($comment['comment_text']); } echo "
"; echo "
"; } ?>