Bruce,
I think I kind of understand what you are saying. I've already created this database:
CREATE TABLE research (
research_id int(4)
unsigned
zerofill
DEFAULT'0000'
NOT NULL
auto_increment,
prof_name varchar(50),
prof_email varchar(50),
prof_field varchar(50),
research_location varchar(50),
research_date varchar(50),
research_info text,
PRIMARY KEY (research_id)
);
And I've written this administration code to insert data into the database(eventually I'll write the form code so I can input all the data via an HTML webpage):
$query="INSERT INTO research";
$query.="research_id, prof_name,";
$query.="prof_email, prof_field,";
$query.="research_location, research_date, research_info)";
$query.="value(0000, '$name', '$email', '$field', '$location', '$date', '$info')";
mysql_pconnect(localhost, "xxxx","xxxx")
or die ("Unable to connect to MySQL Server.");
mysql_select_db("research")
or die ("Unable to select Database.");
mysql_query($query)
or die ("Insert failed.");
Now I need to write the code to call up each research location via the research_id. Right?
So when the user clicks on dot X on the map, a javascript opens a new window with this URL:
http://www.something.com/research/basewebpage.htm?id=X
Am I getting this correctly?
Thanx everyone!
Chris