an end-to-end example: a php website with a mysql databasejbrunelle/cs518/lectures/lecture12.pdf ·...
Post on 16-Oct-2020
13 Views
Preview:
TRANSCRIPT
An end-to-end example:A PHP website with a MySQL database
PHP My Admin
● http://localhost/phpmyadmin/index.php
Create a Database
Create a table
Create tables
Create more tables
Insert makes
Insert data
Browse the data
Find info...
Export DB
Make some PHP files...
SQL connection...
HTML Setup
Query Logic
Runs...
Runs...
Runs...
Runs...
Runs...
Runs...
Runs...
Runs...
Runs...
Try it at home...
● https://github.com/jbrunelle/ODUCS418F16/blob/master/examples/cars.sql
● mysql -uroot --force --verbose < cars.sql● https://github.com/jbrunelle/ODUCS418F16/blo
b/master/examples/explore_cars.php
Check in your code...
● http://rogerdudler.github.io/git-guide/● git init● git add *● git commit -m “committing my sql dump and php
files to my repo”● git push origin master
top related