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

Add Event - Database Maintenance Scripts

Produces a webpage form for collecting data on new events and
adds the new event(s) record to the racing.events database table



Script: add_events_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. validate.Mode | text
Actions



Output

To insert_event.php on Submit Events:
  1. event_date[one|two|three] | date | array
  2. thru_date[one|two|three] | date | array
  3. description[one|two|three] | text | array
  4. urlx[one|two|three] | text | array
  5. location[one|two|three] | text | array
  6. scope[one|two|three] | text | array
  7. home_club | text
  8. validate | text
To Display:




Script: insert_event.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 event(s) to the event table
To Display: