Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

How to Read BarCode by PHP Code and store data in MySQL

Community Beginner ,
Jan 28, 2012 Jan 28, 2012

Copy link to clipboard

Copied

Hi everybody I need a help , how to read a barcode by php code and store the data into MySQL Database

TOPICS
Server side applications

Views

8.9K
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 29, 2012 Jan 29, 2012

Copy link to clipboard

Copied

You can use PHP to directly read a barcode. PHP is a server side scripting language. A barcode scanner is just a client side input device. What you can do is create an HTML form that has a field for the barcode. The scanner can then populate the field with the barcode, which is nothing more than a text string. Then submit the form to PHP or any other scipting language to insert into the database.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 07, 2012 Feb 07, 2012

Copy link to clipboard

Copied

is there any sample or online form that apply this idea ?

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 08, 2012 Feb 08, 2012

Copy link to clipboard

Copied

Try searching the web - I'm sure there are some examples out there.  You can use any html form. The scanner is just an input device. Instead of typing the value in the form field with the keyboard, you use the scanner to populate the field. Do you understand how html forms work?

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 07, 2012 Mar 07, 2012

Copy link to clipboard

Copied

LATEST

hi,

i don't know if this can help u, but in app store, is already submitted a barcode app (name: barcode2sql free and paid version) that

reads and scan barcode image and sent data to mysql db.

for more check: barcode2sql.com

regards,

hope this will be a useful info for u..

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines