meta-boy / php-trash-exp-6

Shit that im not proud of but still had to do because of this hellish education system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connecting to MySQL in PHP using PDO

Create a Simple Database App: Connecting to MySQL with PHP

instructions

Before starting everthing make sure you have cloned this repo and have the mysql driver enabled in apache or whatever you are using

  1. Edit your username and password for mysql to the config.php file
  2. Migrate the db php -f install.php
  3. Throw the thing inside /etc/var/www or whatever monstrosity you have as server folder

OR

  1. cd into public and host a development server at your port of choice cd public && php -S localhost:8000

About

Shit that im not proud of but still had to do because of this hellish education system

License:MIT License


Languages

Language:PHP 96.0%Language:Hack 2.5%Language:CSS 1.2%Language:Shell 0.3%