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

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

Community Beginner ,
Jan 28, 2012 Jan 28, 2012

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
9.0K
Translate
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

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.

Translate
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

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

Translate
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

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?

Translate
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
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..

Translate
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