Thanks Weedpacket. Your suggestion makes the most sense of all I've considered. I am working on designing my database tables now. Here's what I've come up with:
CREATE TABLE login (
id int(11) NOT NULL auto_increment,
username varchar (20) default NULL,
password varchar(10) NOT NULL default '',
lastupdated int(24) default NULL,
PRIMARY KEY (username)
) TYPE=MyISAM;
CREATE TABLE logpage (
id int(11) NOT NULL auto_increment,
username varchar (20) default NULL,
email varchar(100) default NULL,
phone varchar(20) default NULL,
lastname varchar (50) default NULL,
firstname varchar (50) default NULL,
pagename varchar (50) default NULL,
lastupdated int(24) default NULL,
PRIMARY KEY (username)
) TYPE=MyISAM;
CREATE TABLE pagename (
id int(11) NOT NULL auto_increment,
pagename varchar (50) default NULL,
variables will vary depending on the page and page type .....
There will be one for lunch menu, one for weekly newsletter then one template that is similar to the lunch menu for assignments, and one bio page template which each individual teacher will maintain.
Lunch Menu, Newsletter, & Teacher Bio/Pages will write over previous information
Assignments & Calendar entries will be appended to the end of the database file
Athletics schedules/scores/rosters will be entered at the beginning of the season and updated through the season.
PRIMARY KEY (pagename)
) TYPE=MyISAM;
------------------------------------------------------------------------------------