Menu

Skip to content
  • Home
Miro Metsänheimo
Twitter Email LinkedIn GitHub Stack Overflow

Miro Metsänheimo

Freelance technical architect with cryptocurrency projects on the side.

simple

September 24, 2015 by Miro Metsänheimo on PHP

An extremely simple commented PDO example

I made a fast and extremely simple example of PHP’s own PDO class to handle a MySQL database for my class example. We will need a database table called ‘task’ in a MySQL server running on localhost for this to work. The table contains two fields: id INT(6) NOT NULL AUTO_INCREMENT PRIMARY KEY name VARCHAR(64) More…

 

Archives

  • March 2021
  • October 2019
  • July 2019
  • August 2016
  • March 2016
  • January 2016
  • October 2015
  • September 2015
  • August 2015

Categories

  • Java (1)
  • Javascript (2)
  • Job search (1)
  • Linux (12)
  • Networking (3)
  • PHP (1)
  • Wordpress (1)
 
Subscribe!
Copyright © Miro Metsänheimo
Powered by Metsänheimo - Secured with SSL/TLS
Contact me