how to capture data from a barcode using php?

like students id has barcode and when capturing, the code will appear in the inputbox.

Sounds like you want to do this in the browser, so it'll have to be Javascript. Anyway, your regular barcode reader will just output the code (like a keyboard does). So make sure the input has focus, and then capture.

thanks..ill just use javascript

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.