How to Generate Barcode using PHP and Display it as an Image on the same page [duplicate]
This question already has an answer here: Generating and reading barcode 7 answers I want to Generate Bar code (any type) using PHP I am having a variable where i store a code <?php $code= 'f5c9b918c5'; ?> so just i want to generate a barcode of this and echo the barcode image where i want ..... please help Praveen Kumar Purushothaman There is a library for this BarCode PHP . You just need to include a few files: require_once('class/BCGFontFile.php'); require_once('class/BCGColor.php'); require_once('class/BCGDrawing.php'); You can generate many types of barcodes, namely 1D or 2D. Add the