hdmax wrote:I am using godaddy, and e-rice for my website. Not sure what I have as far as PHP, or Java.
Mike, I am attaching (download) a small PHP script that you can upload to your host server and test through your browser - the script will let you know if, indeed, PHP is available on your host server.
hdmax wrote:I do know that I need/want help in making my weather site look good.
Then, you could start by correcting some the coding errors you have made to your main '
index.htm' page...
Looking at the source code for your main page, I see this:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><link href="weatherstyle.css" rel="stylesheet" type="text/css" />
<style type="text/css" media="all">
body { color: blue;
font-family: "arial","times new roman","courier";
}
h1 { color: crimson;
font-weight: bold; }
</style>
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
<meta name="description" content="My backyard weather data" />
<meta name="keywords" content="Cumulus, My backyard weather data, weather, data, weather station" />
<title>My backyard weather</title>
<link href="weatherstyle.css" rel="stylesheet" type="text/css" />
</head>
The code at the top of the page should be rewritten to look like this:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type" />
<meta name="description" content="My backyard weather data" />
<meta name="keywords" content="Cumulus, My backyard weather data, weather, data, weather station" />
<title>My backyard weather</title>
<link href="weatherstyle.css" rel="stylesheet" type="text/css" />
<style type="text/css">
body {
color: blue;
font-family: arial, times new roman , courier";
}
h1 {
color: crimson;
font-weight: bold;
}
</style>
</head>
And that is just the start... About a dozen more lines need some corrections, such as the one proposed by Brad...
Mike you have to understand that cleanly written code (be it HTML, PHP, JavaScript, C++, Perl, etc.) make it easier to follow and understand what the code does - it also allows for the code to run better.
I am quite picky about the way code is written - this date back to my years in college and an excellent (and very demanding) teacher I had then...
It might be time to start a new message thread where code modifications and proper code writing is being demonstrated (taught) and practiced...