How Can I Connect RFID to mySQL Using PHP?

By RFID Journal

  • TAGS
Ask The ExpertsHow Can I Connect RFID to mySQL Using PHP?
RFID Journal Staff asked 9 years ago

Can you please advise as to how I would do this?

—Name withheld


I am not an IT person, but it seems to me that you would not want to use PHP. Many readers output data in XML format or as plain text (a flat file). It should be simple to write a script that would take this information and write it to a mySQL database. You could, I suppose, take the data from the reader and format it as PHP, and then write a script to import the PHP table into a database, but it seems to me (and again, I am not an IT guy) that this would create an unnecessary extra step. Perhaps some of our readers who write RFID software might be able to offer some suggestions regarding the best approach to getting reader data into a mySQL database.

—Mark Roberti, Founder and Editor, RFID Journal

Previous Post