I am creating a website where I proofread people's documents and charge per word.
Basically, I want the number from my word count calcultor http://www.grammarperfection.com/cost.html to pop into the my checkout page http://www.grammarperfection.com/checkout....rv=1&words=
The number shows up in the url, but not on my checkout page in the box labeled "number of words."
The code I am using so far for this calculator and checkout page are from another website.
The code came from http://www.proofmydoc.com/proofmydoc.php. So far the only things I have changed are to replace my own urls in the code to make the pages change to my own when clicking "proceed with order." Once I get the basic code working properly, I will change the look and feel of the page to match my own page.
Here is my website with the code inputted http://www.grammarperfection.com/checkout.php
I am told I need server side code. I am not really sure what this is, or what code I even need.
Please help!
Here is the code for my checkout page that I am having trouble with:
<!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"><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="Images/gpfavicon.ico"/>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Editing, Proofreading and Grammar Checking Service - Grammar Perfection</title>
<!-- InstanceEndEditable -->
<meta name="keywords" content="service,editing,english grammar,proofreading,apa style,writing help,editorial services,essay editing,grammar help,proofread,academic paper,proofreading english,proofreading online,business editorial,proofreading service,proofreading services,business editor,write,college application,apa style,college applications,resume,editorial,resumes,edit document,writing,cover letter,cover letters,editing service,resumes cover letters,writing,apa style,apa,online editor,cbe style,cbe,proofreading essay,english,mla style,mla,editing services,chicago style, financial document,grammer help,financial documents,english writing,academic papers,copy editor,business proofreading,mla style,edit,editor,english grammer,essay help,">
<meta name="description" content="Professional proofreading and editing service. We edit essays, resumes, and other forms of writing. Let our editing specialists proofread your writing today.">
<!--GrammarPerfection.com: writing editing apa style proofreading writing editors english grammar proofreading apa style editing writing apa style editors english grammar mla style writing editing apa style editing mla style proofreading writing english grammar mla style etc.-->
<style type="text/css">
<!--
-->
</style>
<link href="CSS/layout.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
background-image: url(Images/background.gif);
}
.style1 {
font-size: 1px;
color: #CCCCCC;
}
-->
</style>
<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>
<body>
<div id="logo"><a href="index.html"><img src="Images/grammar-perfection-proofreading-and-editing-service.jpg" alt="Logo" width="620" height="172" /></a></div>
<div id="navigation"><a href="index.html">Home</a> | <a href="submitdocument.html">Submit Document</a> | <a href="guarantee.html">100% Guarantee</a> | <a href="examplesofwork.html">Example of Our Work</a> | <a href="faq.html">FAQ</a> | <a href="recommendafriend.html">Get 1/2 Off Your Next Order</a> | <a href="cost.html">Cost</a></div>
<div id="wrapper">
<div id="bodyArea">
<div id="left">
<h5><a href="index.html"><img src="Images/grammer-perfection-home-icon.jpg" alt="Home for proofreading and editing "class="img" longdesc="../index.html" /><br />
Home</a></h5>
<h5><a href="submitdocument.html"><img src="Images/submit-your-document-for-proofreading-editing-icon.jpg" alt="Submit your document for editing and proofreading" name="icons" id="icons" /><br />
Submit Document</a></h5>
<h5><a href="guarantee.html"><img src="Images/satisfaction-guaranteed-icon.jpg" alt="Satisfaction guaranteed on our proofreading service or your money back" name="icons" id="icons" /><br />
100% Guarantee!</a></h5>
<h5><a href="examplesofwork.html"><img src="Images/example-of-what-grammar-perfection-does.jpg" alt="Example of Our Work Link" name="icons" id="icons" /><br />
Example of Our Work</a></h5>
<h5><a href="faq.html"><img src="Images/frequently-asked-questions-about-proofreading-editing.jpg" alt="Frequently Asked Questions" name="icons" id="icons" /><br />
Frequently Asked Questions</a></h5>
<h5><a href="recommendafriend.html"><img src="Images/proofreding-editing-discount.jpg" alt="Recommend a Friend Link" name="icons" id="icons" /><br />
Get 1/2 Off Your Next Order!</a></h5>
<h5><a href="cost.html"><img src="Images/cost-for-proofreading-editing-service.jpg" alt="Cost Link" name="icons" id="icons" /><br />
How Much Does it Cost?</a></h5>
</div>
<div id="right"> <!-- InstanceBeginEditable name="Main Area" -->
<h1><span class="pagetitle">Checkout </span></h1>
<table width="620" border="0" align="center" cellpadding="2" cellspacing="2">
<tr>
<td class="pagetitle" align="left" nowrap="nowrap" height="20"><div align="center"></div></td>
</tr>
<tr>
<td class="pagetext" valign="top" width="625"><form name="grammarperfection" action="/confirmorder.php" method="post">
<div align="center">
<table width="604" border="1" cellpadding="4" cellspacing="0">
<tr>
<td class="pagetext" width="260"><b>Service Option</b> </td>
<td width="322"><select size="1" name="optService">
<option value="1" selected="selected">Standard - 3 Day/72 Hour Return - $5.00 Per Page</option>
<option value="2">Expedite - 2 Day/48 Hour Return - $7.50 Per Page</option>
<option value="3">Overnight - 1 Day/24 Hour Return - $9.00 Per Page</option>
</select> </td>
</tr>
<tr>
<td class="pagetext" width="260"><b>Number of Words</b> (300 Words=1 Page) </td>
<td class="pagetext"><input type="text" name="txtWordCount" size="20" maxlength="20"
value=" ">
<a href="/cost.html">Word Counter/Cost Estimator</a> </td>
</tr>
<tr>
<td class="pagetext"><b>Level of Work</b> </td>
<td><select size="1" name="optLevel">
<option value="High School">High School</option>
<option value="Admission">College - Admission</option>
<option value="College - Under Graduate">College - Under Graduate</option>
<option value="College - Post Graduate">College - Post Graduate</option>
<option value="Website">Website</option>
<option value="Business">Business</option>
<option value="Other">Other</option>
</select> </td>
</tr>
<tr>
<td class="pagetext"><b>Writing Format</b> </td>
<td><select size="1" name="optFormat">
<option value="MLA">MLA</option>
<option value="AP">AP</option>
<option value="N/A">N/A</option>
</select> </td>
</tr>
<tr>
<td class="pagetext" colspan="2"><input type="submit" value="Proceed With Order" name="btnOrder" /> </td>
</tr>
</table>
</div>
</form></td>
</tr>
</table>
<p> </p>
<p> </p>
<!-- InstanceEndEditable --></div>
<div id="footer">
<p><a href="customerservice.html">Customer Service</a> | <a href="links.html">Links</a> | <a href="employment.html">Employment</a></p>
</div>
</div>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-3295634-3");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
<!-- InstanceEnd --></html>
