Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add a character special in this php code?

Tags:

html

php

I'm trying to add the special character ® in this code:

certificate_print_text($pdf, $x, $y + 105, 'C', 'Helvetica', '', 24, $course->fullname);

i want to represent something like this: Dentokind® (dentokind is the name of the course)

I hope you can help me.

thank you :)

like image 500
Juanma Avatar asked Nov 16 '25 18:11

Juanma


1 Answers

As stated in the comments, the HTML-Code for the registered trademark symbol is ® so your line of code should look similar to this:

certificate_print_text($pdf, $x, $y + 105, 'C', 'Helvetica', '', 24, $course->fullname."®");
like image 117
berkyl Avatar answered Nov 19 '25 09:11

berkyl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!