Skip to content

barcode_ean13 ​

php
bool barcode_ean13(string $kod)

Generates EAN13 barcodes. The argument must contain 13 digits. At the call location, the function inserts an HTML <img src="image_url" /> tag that displays a 109x70 pixel barcode image in the email. Returns false for an invalid barcode, or true otherwise.

Example:

php
barcode_ean13("1234567890123");