TESTING OUT PHP & MYSQL

I've never used PHP or MySQL before, so I'm writing several test programs to familiarize myself. View my results!



Test Form Code This simple program uses only PHP, not MySQL, but it works! This was my first php page.
Data Access Code This, my first attempt at combining PHP and MySQL, successfully reads the data from my "students" table and outputs the results.
Submitting Data Code Here I attempt to use a PHP interface to enter data into my MySQL database. This works correctly now! Go ahead, try it- make up a student and enter her data, then check out the Data Access program and you'll see she's been added. Cool!
Datakeeper v. 1.0: Create a New Account Code This program, written in both PHP and MySQL, lets you create a new account on Datakeeper and enter all your information, assigning yourself a username and password.
Datakeeper v. 1.0: Emailing Your Information Code Once you've created an account, you can go here, log in using your name and password, enter your teacher's email address and hit 'submit', and your information is emailed to your teacher. And it works! I checked!
Pretty Graphics - An HTML test Code Here's my design for the look of DKv2.0; I picked a font and fixed up all the buttons and the layout. Pretty.
Datakeeper v. 2.0 Code - Log In
Code - View Data
Code - Edit Data
Code - Create New Account
Code - Send a Form
Code - Log Out
The pretty graphics, combined with working links, new account creation, and a log-in screen. It's so beautiful! This is a multi-page version; check out the various links. They are all fully functioning except for the edit page, which I'll fix up soon enough.
Back to main techlab site