CP Home
Database
Description
Script Index
I-5 QMC
MySQL
Database
SQL
PHP
HTML
Email

Add Driver - Database Maintenance Scrips

Produces a webpage form for collecting data on a new driver and
adds the new driver record to the racing.drivers database table



Script: add_driver_form.php

Input

From Maintenance Menu:
  1. home_club | text
  2. validate | text
From racing database:
  1. html.Head | text
  2. html.Menu_Top | text
  3. html.Tail | text
  4. html.Club_Array | serialized array
  5. validate.Mode | text
Actions



Output

To insert_driver.php on Submit Driver:
  1. first_name | text
  2. last_name | text
  3. birthday | date
  4. Home | text
  5. home_club | text
  6. validate | text
To Display:




Script: insert_driver.php

Input

From add_events_form.php: See Output above

From racing database:
  1. html.Head | text
  2. html.Menu_Top | text
  3. html.Tail | text
  4. validate.Mode | text
Actions



Output

To racing database:
  1. Add new driver to the racing.drivers table
To Display: