almostbob 866 Retired: passive income ROCKS

Hmm 3-6 months is a lot of time don't you think so? and how do you get backlinks from? Can you give us some tips?

go to the google webmasters page. read, and follow the only tips that actually matter.
google make the rules, everyone else follows. As CFred wrote :" Very few, if any, unmerited link will be considered important enough for Google to list. ": go one further, unmerited links have a very negative affect. those sites promising you immediate results, get results, but the list they get you on, is the blacklist, not good results.
links have less importance than you seem to think, the site content is of more interest to se spiders.
"Proof of Google PageRank" is bovine excreta, Google's algorithm is kept very close to home

almostbob 866 Retired: passive income ROCKS

Does that have any real meaning at all (for frames)? My guess was that an input needed focus.

you can apply focus to any element,
for this usage, focus is transferred to the body element within the frame, which of course fails(as expected) in any real sennse, leaving the frame in focus. <<--- what happens when you 'hmmm'' when trying to gather your thoughts and voice recognition is turned on
focus on an input item allows data entry, because the element is capable of entry
focus on an element that can do nothing, does nothing

almostbob 866 Retired: passive income ROCKS

if document in frame2 is supposed to gain focus, why not <body onload='self.focus();'> in the document that is loading in frame 2

in frame1 <body onload='parent.frame2.focus();'>

almostbob 866 Retired: passive income ROCKS

Nice, are you using dragon naturally speaking?
I've always wanted to try that.

the microsoft speach api, it is surprising, it does exactly what was promised, but the configuration time is long, there was six months where keyboard editing almost everything the v r wrote,until it learned my accent and pronunciation

almostbob 866 Retired: passive income ROCKS

using, database
email script
your site schema
flat tile
languageanything else you FORGOT to mention

get off your *expletive* and LOOK FOR IT

almostbob 866 Retired: passive income ROCKS

415, the voice recognition is pretty well configured to me by now
real typing, 37

vegaseat commented: sweet +0
almostbob 866 Retired: passive income ROCKS

Oh lol Bob, I didn't knew that you could edit with a text file.. lol don't you think he needs access to the file first before editing it? Just rearrange the options lol :)

a: development is done locally and uploaded to the server
no, the op would not require the ftp client first,
or
b: the questions were asked by the op sequentially, and answered in the same sequence

speaks to the skill, or lack thereof, you are bringing to the clients you seek in your signaturego away intellectual amoeba

almostbob 866 Retired: passive income ROCKS

Ive decided to post here in php forum because i use php to access the mysql table that holds the registered username and password.

Ajax is how most, allow javascript, clientside, to interact with php, on the server, where JavaScript does not operate with much efficacy.
so why not,
given that you have not written a new language construct to release to the world,
repost the question in the language forum devoted to allowing Javascript to interact with php/sql

2 bricks

almostbob 866 Retired: passive income ROCKS

I dunno, there are heaps of IDEs that support dozens of languages, which ones support shtml have dropped out ouf sight because asp and php do everything ssi does, and more so ssi has been ignored
NetBeans though supports everything else, so may be a place to start for ssi
I have WAMP installed on my pc and it will parse .shtml files as they should be on the localhost, so WAMP may be a possiblility

almostbob 866 Retired: passive income ROCKS
if($val > 0 && $val <= 9999){
$val = str_pad($val, 4, "0", STR_PAD_LEFT);
//bla bla bla submit to query
}

unsure about why,
sql will strip the leading zeros and process only the value of the column anyway,
not valid as a verification tool, to ensure no lost chars once the post is already made
to verify that 4 digits have been input a javascript on the browser may be more valuable validating the length of the input field (dont use this I dont thing it wourl work, its an idea

<input name='val' onchange="JAVASCRIPT:if(self.value.length = 4) { document.getElementById('submit').disabled=false}else{document.getElementById('submit').disabled=true}">
<input id='submit' type='submit' disabled='disabled'>

or I might be totally missing the ball,

almostbob 866 Retired: passive income ROCKS

a. with a text editor
b. with an ftp client

[voice=porky]that's all folks[/voice] gotta make a joke sometime

robots.txt is just a text file, notepad will do it, the content is simple there are dozens of short tuts on what it needs to contain to accomplish the litany it is capable of
and being a text file is real easy to reset if something goes awry

almostbob 866 Retired: passive income ROCKS

before posting, read how to wrap code in [code=language] [/code] tags, makes it easier to read, in this inst code=php
more likely to get assistance if the person with potential to assist is not correcting what is seen as impoliteness, (every new poster wonders why few or nobody helps)
without beating you for using tables in this case they are appropriate for tabular data (there is a bunch of other threads debating tables/css positioning)
Your

echo "<td class='td' >" . $row['pat_id'] . "</td> ";

assuming another page patient.php in which the full details for a single patient are selected from the database by pat_id

echo "<td class='td' ><a href='patient.php?pat_id=".$row['pat_id']."'>".$row['pat_id']."</a></td> ";

creates a link to the patient.php file passing the pat_id
if this is not what you mean, I hope it provides some insight, or postback if Im too far off target

if this code sample is not just a dump for the purpose of the question, you should complete the html; a dtd, closure of all incomplete elements, to ensure it displays as you intend

almostbob 866 Retired: passive income ROCKS

Agree with Twiss, this is a help forum, not a do it for you forum

almostbob 866 Retired: passive income ROCKS

these standard test beds may assist you
http://analyze.websiteoptimization.com/authenticate.php?url=http://www.hssaline.org&/ Speed tweaks

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.hssaline.org&charset=%28detect+automatically%29&doctype=Inline&group=0 html check :html 4.01 strict does not support framesets, the dtd for a frameset is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> with the wrong doctype its amazing it displayed in anything \/

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.hssaline.org&profile=css21&usermedium=all&warning=1&lang=en CSS check

http://demo.opera-mini.net/demo.html?www.hssaline.org handheld

http://www.browsershots.org other browsers
http://browsershots.org/http://www.hssaline.org/ it doesnt display well in much this link valid only 24 hours

many problems (if present) will show
serious code errors in the w3c validator sites will produce blankscreens in browsershots

Valid code does not ensure the site will work ...
Invalid code ensures the site will not work ...
.. in all browser OS combinations

not all layouts work in handheld devices
strictly code based, you understand your content more than I would

almostbob 866 Retired: passive income ROCKS

google analytics results are wrong, any user with spybot, or the paid version of malware bytes, >>> thats a lot of people <<< will not showthe google analytics servers are listed as malware ,
third party script installed without permission reporting to that third party classic definition of malware
do not work with javascript turned off,
so can only be used as a guide, not as any basis for anything other than googdle adds payments if you use the server logs or install a serverside tracker, it cant be blocked by hosts files or antimalware programs, gives accurate results, makes the page smaller without that script downloading (google tracker is 150KB but only once and may be resident in the cache if the user has visited another site)
google provide a reasonable description of what they require for good sites at the google webmaster tools page, along with a good set of webmaster tools

almostbob 866 Retired: passive income ROCKS
<button type="submit" name="button1" value=" ">
<img src="images/button_sub2.png" width="32" height="32" alt="submit" border="0" />
</button>

or style the submit button

input[type=submit] { background:url('input.gif'); }
input:hover[type=submit] { background:url('input.gif') green; }
almostbob 866 Retired: passive income ROCKS

definition:A:sitemap; non-human readable xml map designed to allow easy access by search engineranking:good, intelligence:high; Y/N:veryY
definition:B:sitemap; human readable html map designed to allow visitors to get past a badly laid out nav menuranking:bad, intelligence:none; Y/N:veryN, fix the Navhttp://www.auditmypc.com has a very good sitemap generator of the first type
Google webmaster tools explains how why when where

almostbob 866 Retired: passive income ROCKS

the next logical development is php, ssi on steroids,& a gazillion apps code samples downloadable scripts, a half a gazillion IDEs so you can test, free for the download
but it depends on the host, if you have a MS host asp is the one, most hosts are nix of some sort, apache so php is installed
php & mysql, or asp sql both work, different approach, same result

none of the pages of this site exist as hard coded files and google shows a million results, generated by php and dont really exist, but are searchable and linkable et al, and customize on what the visitor searches for
DaniWeb runs on a script vBulletin I think
Wordpress & a heap of others
much easier than hand coding anything, even if you just use the ideas, there is proven logic to use

HeadSlap moment,RE: natural flow,, screws up more web pages than you could imagine, each browser interprets natural completely differently, what looks cool on the development pc, looks wierd on others becuase each browser renders the layout on its own, IE puts margins on the inside, FF puts margins on the outside, safari does something different again, tell them what you want it to look like, they screw up less, and you get a consistent(not identical but recognizable) design

*HeadSlap Mmoment:noun; sudden enlightenment, assault excluded, see also Doh moment; I HATE overhead lightbulbs :P

almostbob 866 Retired: passive income ROCKS

A::
the server is set up to parse some file extensions for serverside commands
eg. setup to only process cgi shtml php asp to use includes in your default.htm page it would have to be renamed default.shtml, when you make the change, remember to change the href in links that point to the homepage
B:: the code that you want replicated is likely to be Header, footer, menu, ads if used, all those items are css positioned in each page, their position is set in the external css file
so if your include file has

<div class='header'>blka bla bla bal</div>
<div id='menu'><ul id='menu'><li>item</li><li>item</li><li>item</li><li>item</li><li>item</li></ul>
</div>
<div class='footer'>&copy;me | contact me | why me | why not</div>

and the css file is set

.header {top:0; bottom:auto; width:100%; position:fixed; z-index:10;}
.footer {top:auto; bottom:0; width:100%; position:fixed; z-index:10; }
#menu {list-style:none; /* bla bla style a ul to be a css menu didnt paste it  lazy */ }

the positions of the included items will be identical on each page, whether the include is first, last, or anywhare in the file
all your includes can be in a single file if you wish
or all the common includes in one file, and any specific items for a specific page, in other files

all codes just samples not tested

almostbob 866 Retired: passive income ROCKS

all posts ever made, just asking someone else to to do your homework

Go read the *expletive* manual
google
library
I'm done

s.w.a commented: sorry but you misunderstand me -1
almostbob 866 Retired: passive income ROCKS

gonna say it again, dont shoot me,
the file is not saved in UTF-8
the hexdump prior post, shows characters higher than hex80, utf represents those as two byte characters, the slightly bold in the quote
listed again DC (= 80 5c)
F6 (= 80 76)
DF DF E4 FC FC E4 E8

are not present in a utf-8 file
the editor used to write the text is still saving in ansi, western Euro,

diafol commented: brilliant, as usual AB. I missed it first time as I didn't understand it. Doh! +13
almostbob 866 Retired: passive income ROCKS

or you can have this page BE products.php if the $_get values arent set

<?php if(isset($_GET['x'])) {
$prodarr = array('prod1' => 'A', 'prod2' => 'B','prod3'=> 'c'); 
$keyarr = array_keys( $prodarr); 
if(in_array($_GET['x'],$keyarr)) { header( 'Location: http://www.website'.$prodarr[$_GET['x']].'com?x='.$_Get['x'].'&hop='.$_GET['hop']);  }}
include('http://www.website.com/products.php'); ?>
almostbob 866 Retired: passive income ROCKS

when you create the subdomains, the cname & id are explained in the helpscreen on your hosting control panel, exactly what that will say, I dont know, i only have read my own host faq

almostbob 866 Retired: passive income ROCKS

the benefits of code highlighting, I didnt use one, so left out a cloasing baracket

if(!in_array($_GET['x'],$keyarr)) { header( 'Location: http://www.website.com/products.php'); }

everything after that is wrong,
tighter code

<?php if(isset($_GET['x'])) {
$prodarr = array('prod1' => 'A', 'prod2' => 'B','prod3'=> 'c'); 
$keyarr = array_keys( $prodarr); 
if(in_array($_GET['x'],$keyarr)) { header( 'Location: http://www.website'.$prodarr[$_GET['x']].'com?x='.$_Get['x'].'&hop='.$_GET['hop']);  }}
header( 'Location: http://www.website.com/products.php'); ?>


if x is set
create fast search array of the products (great for huge product lists, I expect your business to grow)
check search array for x, on my wamp install, creating the key array is faster if there are more than 10 products than searching the 2 element array
if x found in array go to the the page,
goto default page

almostbob 866 Retired: passive income ROCKS

check what the server settings are, some are still not set to allow .php as the default file name, so assumes a folder without ain index.html index.html, is empty
a phone call to webspace provider's tech support

dont use other site's names in your posts, www.domain.com is probably annoyed at the referral :P

almostbob 866 Retired: passive income ROCKS

at or about line 3 where the comments fall

if(!in_array($_GET['x'],$keyarr) { header( 'Location: http://www.website.com/products.php'); }
almostbob 866 Retired: passive income ROCKS

I heard my name,

these standard test beds may assist you http://analyze.websiteoptimization.com/authenticate.php?url=http://www.yoursite.com&/ Speed tweaks

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.yoursite.com&charset=%28detect+automatically%29&doctype=Inline&group=0 html check

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.yoursite.com&profile=css21&usermedium=all&warning=1&lang=en CSS check

http://demo.opera-mini.net/demo.html?www.yoursite.com handheld

http://www.browsershots.org other browsers
many problems (if present) will show
serious code errors in the w3c validator sites will produce blankscreens in browsershots

Valid code does not ensure the site will work ...
Invalid code ensures the site will not work ...
.. in all browser OS combinations

not all layouts work in handheld devices
strictly code based, you understand your content more than I would

& thanks, I NEVER intended to be nice

almostbob 866 Retired: passive income ROCKS

It is possible to use javascript to send an email using the installed email client on the users pc without user input, it is considered unethical but it is possible
search javascript.internet.com for the script

almostbob 866 Retired: passive income ROCKS

that is the point of ajax
those in the AJAX forum mostly know enough to seamlessly make ajax update the sql select statement and populate the fields without reloading the page,
an extension of what you have begun
& because you have begun, there will be no smart-alec replies, telling you to go away and 'read the effing manual'

( be amazed how many posters expect "paid" programming support from the posters here, without making any attempt )
( or the number who just want their school homework done )

almostbob 866 Retired: passive income ROCKS

been playing with the code, I missed the very obvious
when the php sql select executes, the javascript has not,
the page is not reloaded, that php does not execute again, the field is not populated with a gender
you have to modify the javascript to execute an ajax select from the database
my prior code answer is absolutely wrong, I focused on MY biggest problem, javascript, when it is an ajax issue

this question would likely get an intelligent, rapid answer, from the gurus in the AJAX forum

almostbob 866 Retired: passive income ROCKS

thank you, indented code is very difficult to read

<?php session_start();
include("/home1/elvonica/public_html/includes.php");
include("/home1/elvonica/public_html/header.php"); ?>
<script type='text/javascript'>
function chooseGender() {
var gender = $('input[name=gender]:checked', '#submitgender').val();
if(gender) { 
$.ajax(
{
type: "POST",
url: window.location.pathname,
data: "gender='" + gender,
success: function()
{
alert("You have chosen to be a " + gender);
/* javascript to mark document.getelementbyID('gender'+ gender).checked='checked'; */
$("#submitgender").hide();
$("#rest").fadeIn();
selectGender.innerHTML = "Gender: "+ gender +"";
} }); }
else { alert('Select a gender.'); }
}	
$(function tabs() {
$( "#tabs" ).tabs();
});
</script>
<!-- snipped for convenience-->
<form id="submitgender" method="post" action="<?php echo $_SERVER['SCRIPT_NAME']; ?>">
<table cellspacing="0" class="news" align="center" id="gender">
<tr>
<td colspan="2" style="border-bottom:1px solid #000;">
<center>Click on your gender:<br>
</td>
</tr>
<tr>
<td style="border-right:1px solid #000; border-bottom:1px solid #000;" width="300">
<center><input type="radio" name="gender" id='genderMale' class="gender" value="Male"><label for='gendermale'><b>Male</b></label></center>
</td>
<td style="border-right:1px solid #000; border-bottom:1px solid #000;" width="300">
<center><input type="radio" name="gender" class="gender" id='genderFemale' value="Female"><label for='genderfem'><b>Female</b></label></center>
</td>
</tr>
<!-- snipped for convenience-->

/* javascript to mark document.getelementbyID('gender'+ gender).checked='checked'; */ the line above, my javascript is lousy, there is nothing to ensure the value in the hidden input is retained after the update is made, id added to radio buttons
have added label tags to the male/female radio buttons, so the name is clickable
not sure,

almostbob 866 Retired: passive income ROCKS

the code sample is not complete, unless there is an <input name='gender'> of some kind , radio button etc in the code that you have not thought to display...
"a submit button in a form" don't mean, much
post the code, without the indenting, complete
code posted between [code] tags is highlighted, indenting is useless, counter-productive,
a code highlighting editor often shows up the code errors that cause these difficult to find, (cross fingers) easy to fix, problems
if you dont use an editor that code highlights and completes, get one :P

almostbob 866 Retired: passive income ROCKS

its not an input, its not posted

almostbob 866 Retired: passive income ROCKS

in its day it was a super computer
still running, is 7 feet high, 22 feet wide, and 16 feet deep, and made up of rows of cabinets
about 1/10 power of this laptop
its kept running as a curiosity

was a precocious kid

almostbob 866 Retired: passive income ROCKS

monecs fortran in 1972 8 years old, punch cards + paper tape

almostbob 866 Retired: passive income ROCKS

ssi includes in shtml
includes in asp
includes in php
by far most people have common page elements in header footer menu sidebar includes

almostbob 866 Retired: passive income ROCKS

there are plenty to tell you where to go,
but I suggest you contact the service provider for ttheir interpretation as each provider may be different

A wildcard ssl certificate allows you to have any number of subdomains on a single certificate,
*.mysite.com provides ssl to
www.mysite.com, pics.mysite.com, Guru.mysite.com, this.mysite.com, naked.mysite.com <<-- how did that get there

lazy explanantion link

almostbob 866 Retired: passive income ROCKS

definitely not saved in utf-8

-d 340 5e0

0B39:0340 20 76 65 72 6C 69 65 72-65 6E 2E 0D 0A 44 69 65 verlieren...Die
0B39:0350 20 52 65 69 73 65 20 6B-6F 6D 6D 74 20 73 63 68 Reise kommt sch
0B39:0360 6E 65 6C 6C 20 76 6F 6D-20 57 65 67 20 61 62 2C nell vom Weg ab,
0B39:0370 20 77 65 6E 6E 20 64 69-65 20 45 69 6E 68 65 69 wenn die Einhei
0B39:0380 74 20 61 75 66 20 DC 62-65 72 72 65 73 74 65 20 t auf.berreste
0B39:0390 65 69 6E 65 73 20 52 61-75 6D 73 63 68 69 66 66 eines Raumschiff
0B39:03A0 73 20 73 74 F6 DF 74 20-75 6E 64 20 64 61 72 69 s st..t und dari
0B39:03B0 6E 2C 20 65 69 6E 20 4D-65 6E 73 63 68 2E 20 44 n, ein Mensch. D
0B39:03C0 69 65 20 65 72 73 63 68-72 65 63 6B 65 6E 64 65 ie erschreckende
0B39:03D0 20 45 6E 74 64 65 63 6B-75 6E 67 20 62 72 69 6E Entdeckung brin
0B39:03E0 67 74 20 49 68 6E 65 6E-20 73 6F 77 6F 68 6C 20 gt Ihnen sowohl
0B39:03F0 42 65 6C 6F 68 6E 75 6E-67 20 61 6C 73 20 61 75 Belohnung als au
0B39:0400 63 68 20 50 …

almostbob 866 Retired: passive income ROCKS
<?php if(isset($_GET['x'])) {
$keyarr = array('prod1' => 'A', 'prod2' => 'B','prod3'=> 'c'); /* an unlimited number of codes, linked to parts of website names
I hit abc, but they could be everything of the name, or as much as is needed to differentiate
cookie handling out of the php manual */
header( 'Location: http://www.website'.$keyarr[$_GET['x']].'com?x='.$_Get['x'].'&hop='.$_GET['hop']); 
}
else header( 'Location: http://www.website.com/products.php'); ?>

just a possibility

almostbob 866 Retired: passive income ROCKS
<?php function incrementCounter($counterFile) { //INCREMENT THE COUNTER
	$current=readCounter($counterFile);
	$current++;
	if(!$handle = fopen($counterFile, "w")) { return false; }
	else { if(fwrite($handle, $current) === FALSE) { return false; } }
	fclose($handle);
	return true; }
function readCounter($counterFile) { //OUTPUT THE CURRENT COUNT
	$contents=file_get_contents($counterFile);
	if(is_numeric((int)$contents)) { return ((int)$contents); }
	else { return 0; } }
$counterFile="video1.txt";
incrementCounter($counterFile); //INCREMENT THE COUNTER
echo readCounter($counterFile); //OUTPUT THE CURRENT COUNT
?>
almostbob 866 Retired: passive income ROCKS

the code is wrong, those redirects belong in the <head>, but why ???
do a php redirect on the server, and seamlessly display only the correct page no html required

<?php if(isset($_GET['x'])) {
if($_GET['x'] == "prod1") { header( 'Location: http://www.websiteA.com'); }
elseif($_GET['x'] == "prod2") { header( 'Location: http://www.websiteB.com'); }
elseif($_GET['x'] == "prod3") { header( 'Location: http://wwwwebsiteC.com'); }
}
header( 'Location: http://www.website.com/products.php'); ?>

nothing but the correct page will be output to the browser

almostbob 866 Retired: passive income ROCKS

I just bugged around, changed the encoding to western European ISO, and western Europena Windows,
and the bent B,
o with dots
U with dots
(sorry I have heard of umlaughts and greve but I dont know which they ARE) all the characters that were blocks appeared
are you sure the file is encoded as UTF-8, my hex viewer is showing only single bytes for those characters that use 2bytes to display in utf-8

almostbob 866 Retired: passive income ROCKS
echo "<p>$_POST['name'] of $_POST['school'] has scored an average of .$_POST['marks'] percent. ".($POST['sex']=='f' ? 'Her' : 'His')." grade is :- $grade.</p>";

coffee's drunk, break over

almostbob 866 Retired: passive income ROCKS

just playing while the coffe brews,
the only thing I really noticed, was the difference in fieldnames in the original code
the html form inputs 'avg'
the php form processor validates on $_POST
= always rejects

added some (bad) code that populates the form with partial values more as an exercise than with any real consideration of whether it was valid

<?php 
include("header.html");
include("nav.html");
include("sidebars.html");
if(isset($_POST['submitted'])) {
	if((isset($_POST['name']))&&(isset($_POST['school']))&&(isset($_POST['marks']))&&(isset($_POST['sex']))) {
		if($_POST['marks']>=80)	 $grade='A';
		elseif(($_POST['marks']>=70)&&($_POST['marks']<80)) $grade='B';
		elseif(($_POST['marks']<70)&&($_POST['marks']>=60)) $grade='C';
		else $grade='D';
		echo "<p>".$_POST['name']." of ".$_POST['school']." has scored an average of ".$_POST['marks']." percentage. His/Her grade is :- ".$grade."</p>"; 
	exit(0); 
	} 
	else echo 'submitted form was not complete';
	}

function calendar() {
	$month=array(1=>"January","February","March","April","May","June","July","August","September","Ocotber","November","December");
	$days=range(1,31);
	$years=range(1900,2011);
	echo "Date of Birth : ";
	echo '<select name="month">';
	foreach($month as $key=>$value){
		echo "<option value='$key'";
		if(isset($_POST['month'])){if($key==$_post['month']) echo "selected='selected'";}
		echo '>$value</option>';
		}
	echo "</select>";
	echo '<select name="days">';
	foreach($days as $key=>$value){
		echo "<option value='$key'";
		if(isset($_POST['days'])){if($key==$_post['days']) echo 'selected="selected"';}
		echo ">$value</option>";
		}
	echo "</select>";
	echo '<select name="year">';
	foreach($years as $key=>$value){
		echo "<option value='$key'";
		if(isset($_POST['year'])){if($key==$_post['year']) echo 'selected="selected"';}
		echo ">$value</option>";
		}
	echo '</select><br /><br />';
	}	
?>
<form action="test.php" method="post">
<fieldset>
<legend>Form 1</legend>
Name : <input type="text" name="name" size="35" <?php if(isset($_POST['name'])){echo "value='$_POST['name']'";} ?>/><br /><br />
School : <input type="text" name="school" size="35" <?php if(isset($_POST['school'])){echo "value='$_POST['school']'";} ?>/><br /><br />
Avg. Marks : <input type="text" name="marks" size="4" <?php if(isset($_POST['marks'])){echo "value='$_POST['marks']'";} ?>/><br /><br />
Sex : <input type="radio" name="sex" value="m" />Male <input type="radio" name="sex" value="f" />Female<br /><br /> <!-- something similar to add selected='selected' -->
<?php calendar() ?>
<input type="submit" name="submit" value="Submit Form" />
<input type="hidden" …
almostbob 866 Retired: passive income ROCKS

looked at the page source as did the op, the text is served properly, perhaps this last in the chain of declarations broke the chain, showing charset[blank] <link type="text/css" href="../main.css" rel="stylesheet" title="menu" charset "UTF-8"> should it be ?? <link type="text/css" href="../main.css" rel="stylesheet" title="menu" charset="UTF-8"> ,

my translation from Anglais to French is in Canada, plenty of Francophones happy to explain all the accents, and the difference in meaning getting them wrong can make, to an 'import', and to implement it, and proof read, no thought required
this is fascinating

almostbob 866 Retired: passive income ROCKS

<a href='thisfile.uri'> THIS IS ANCHOR TEXT </a>

almostbob 866 Retired: passive income ROCKS

when you send code, wrap it [code=html] [/code] tags
it makes it easier to read, and shows you where your errors are by code highlighting

also get a code highlighting editor, harder to make mistakes when bits of code turn RED when you miss things, what ever you are using to write this stuff is killing you, a good editor will not allow the uppercase tag names, will warn you for forgotten closures, will warn for quaotes, bloody marvellous

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HEAD>
<TITLE>A list of what you are searching for. </TITLE>
</HEAD>
<BODY text=#000000 bottomMargin=0 vLink=#000000 aLink=#000000 link=#000000 
leftMargin=0 topMargin=0 rightMargin=0 marginheight="0" marginwidth="0">
<DIV align=center>
<DIV align=center style="width: 927; height: 117">
<TABLE cellSpacing=0 cellPadding=0 width="859" border=0 height="106">
<TBODY>
<TR class=header>
<TD vAlign=center height="78" width="280">
<DIV align=left>

versus

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>A list of what you are searching for. </title>
</head>
<body style='margin:0;' > <!-- deprecated anyway-->
<div align='center'> <!-- deprecated anyway-->
<div align='center' style='width:927px; height:117px'>
<table cellspacing='0' cellpadding='0' width='859px' border='0' height='106px'>
<tbody>
<tr class='header'>
<td valign='center' height="78px" width="280px">
<div align='left'>

such a lot less red

tables are a part of the problem, ie puts margins on the outside, firefox puts margins on the inside or vice versa I cant remember because havent used tables for layout this century align=right fails, should be align='right' , everything with an equal sign should have quotes or dquotes
& the always present, get the styles out …

almostbob 866 Retired: passive income ROCKS

the [code] bla bla bla [/code] handler on this page
I wrote it was likely an error copying from the reply's editor, to the code handler on the page, I meant on THIS page, it broke lines of text where it wasnt required

almostbob 866 Retired: passive income ROCKS

for a radio button you may need to use the onclick attribute inside the <button > definition onclick="framename.location='pagename';" onclick="parent.framename.location='pagename';" onclick="document.framename.location='pagename';" something jumps out at me about needing to include the parent or document in the name, one of these should work

almostbob 866 Retired: passive income ROCKS

instructions for the lazy

instructions of the obscenley lazy <A href='filename' target='framename'>OPEN THIS LINK IN A FRAME</a>