hi
since I began programming in php the most thing I used is form but today I wanted
to use form inside an html page that have a css style
BUT THE FORM INSIDE IT DO NOT WORKED IT IS VERY SIMPLE AND RIGHT BUT IT DON'T WORK
i used the same form outside of that page inside a simple php code and it worked, I began new page html page but the form still did not work
Is the problem may be in the style of the html page Or I made a really stupid little mistake.please help me I can't continue programming really important codes because I stopped here and can't move on.I have to show this project tomorrow and I am going insane
the form code is(and I know it is very simpe)

<form id="form1" name="form1" method="post" action="printR.php">
  <input name="n1_plot" type="text" size="30" />/
  <input name="n2_plot" type="text" size="30" />
  <input name="sub" type="submit" value="اضغط" />
  </form>

and the code for the entire html page is:

!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">
<!-- DW6 -->
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>صفحة البحث عن ملك</title>
<link rel="stylesheet" href="emx_nav_right.css" type="text/css" />
<script type="text/javascript">
<!--
var time = 3000;
var numofitems = 7;

//menu constructor
function menu(allitems,thisitem,startstate){ 
  callname= "gl"+thisitem;
  divname="subglobal"+thisitem;  
	this.numberofmenuitems = allitems;
	this.caller = document.getElementById(callname);
	this.thediv = document.getElementById(divname);
	this.thediv.style.visibility = startstate;
}
				 
//menu methods
function ehandler(event,theobj){
  for (var i=1; i<= theobj.numberofmenuitems; i++){
	  var shutdiv =eval( "menuitem"+i+".thediv");
    shutdiv.style.visibility="hidden";
	}
	theobj.thediv.style.visibility="visible";
}
				
function closesubnav(event){
  if ((event.clientY <138)||(event.clientY > 187)){
    for (var i=1; i<= numofitems; i++){
      var shutdiv =eval('menuitem'+i+'.thediv');
			shutdiv.style.visibility='hidden';
		}  
	}
}
// -->
</script>
<style type="text/css">
<!--
.style1 {
	font-size: 18px;
	color: #220020;
}
.style2 {font-size: 24px; color: #220020; }
.style3 {
	font-size: 16px;
	font-weight: bold;
}
.style8 {font-size: 24px}
.style9 {font-size: 36px}
.style11 {
	font-size: 18px;
	font-weight: bold;
}
.style12 {font-size: 18px; }
-->
</style>
</head>
<body onmousemove="closesubnav(event);"> 
<div style="position: absolute; width: 1366px; height: 156px; z-index: 1; left: 4px; top: -24px; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000;" id="layer1">
  <div style="position: absolute; width: 100px; height: 100px; z-index: 1; left: 599px; top: 45px" id="layer2"><img src="3.bmp" alt="iraq" /></div>

  <div align="right">
    <p class="style2"> <span class="style3">جمهورية العراق </span>&nbsp;&nbsp;<strong>&nbsp;&nbsp;&nbsp;</strong></p>
    <p class="style2"><span class="style11">وزارة العدل </span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
    <p class="style1"><span class="style11">مديرية التسجيل العقاري في كربلاء</span> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong></p>
    <p class="style1"><strong></strong></p>
  </div>
</div>

<div style="position: absolute; width: 1366px; height: 156px; z-index: 1; left: 4px; top: -24px; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000;" id="layer1">
  <div style="position: absolute; width: 100px; height: 100px; z-index: 1; left: 501px; top: 39px" id="layer2"><img src="3.bmp" alt="iraq" /></div>

  <div align="right">
    <p class="style2"> <span class="style3"> </span>&nbsp;&nbsp;<strong>&nbsp;&nbsp;&nbsp;</strong></p>
    <p class="style2"><span class="style11">    </span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
    <p class="style1"><span class="style11">   </span> <strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong></p>
    <p class="style1"><strong></strong></p>
  </div>
</div>

<div class="skipLinks">skip to: <a href="#content">page content</a> | <a href="#pageNav">links on this page</a> | <a href="#globalNav">site navigation</a> | <a href="#siteInfo">footer (site information)</a> </div>



<div id="masthead">
  <h1 id="siteName">Site Name</h1>
  <div id="globalNav"> <img alt="" src="gblnav_left.gif" height="32" width="4" id="gnl" /> <img alt="" src="glbnav_right.gif" height="32" width="4" id="gnr" />
      <div id="globalLink"> <a href="search1.html" id="gl1" class="glink" onmouseover="ehandler(event,menuitem1);"></a><a href="#" id="gl2" class="glink" onmouseover="ehandler(event,menuitem2);">الكشف على عقار</a><a href="#" class="glink style9" id="gl3" onmouseover="ehandler(event,menuitem3);">الفرز لعقار</a><a href="#" class="glink style8" id="gl4" onmouseover="ehandler(event,menuitem4);">التوحيد للعقارات</a><a href="searchowner.html" id="gl5" class="glink" onmouseover="ehandler(event,menuitem5);">البحث</a><a href="#" id="gl6" class="glink" onmouseover="ehandler(event,menuitem6);">global link</a><a href="#" id="gl7" class="glink" onmouseover="ehandler(event,menuitem7);">global link</a> </div>
    <!--end globalLinks-->
  </div>
  <!-- end globalNav -->
 

 <div id="subglobal1" class="subglobalNav">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;اكمال معاملات البيع| عملية بيع جديدة</div>
  <div id="subglobal2" class="subglobalNav">  لطفاً تذكر الأسم وكلمة السر الخاصة بك ليسمح لك بدخول  لقسم الكشف</div>
  <div id="subglobal3" class="subglobalNav">  لطفاً تذكر الأسم وكلمة السر الخاصة بك ليسمح لك بدخول  لقسم فرز العقارات</div>
  <div id="subglobal4" class="subglobalNav">  لطفاً تذكر الأسم وكلمة السر الخاصة بك ليسمح لك بدخول  لقسم توحيد العقارات</div>
  <div id="subglobal5" class="subglobalNav"> <a href="#">subglobal5 link</a> | <a href="#">subglobal5 link</a> | <a href="#">subglobal5 link</a> | <a href="#">subglobal5 link</a> | <a href="#">subglobal5 link</a> | <a href="#">subglobal5 link</a> | <a href="#">subglobal5 link</a> </div>
  <div id="subglobal6" class="subglobalNav"> <a href="#">subglobal6 link</a> | <a href="#">subglobal6 link</a> | <a href="#">subglobal6 link</a> | <a href="#">subglobal6 link</a> | <a href="#">subglobal6 link</a> | <a href="#">subglobal6 link</a> | <a href="#">subglobal6 link</a> </div>
  <div id="subglobal7" class="subglobalNav">  <a href="#">subglobal7 link</a> </div>
  <div id="subglobal8" class="subglobalNav"> <a href="#">subglobal8 link</a> | <a href="#">subglobal8 link</a> | <a href="#">subglobal8 link</a> | <a href="#">subglobal8 link</a> | <a href="#">subglobal8 link</a> | <a href="#">subglobal8 link</a> | <a href="#">subglobal8 link</a> </div>
</div>
<!-- end masthead -->
<!--end pagecell1-->
<div id="pagecell1">
  <!--pagecell1-->
  <img alt="" src="tl_curve_white.gif" height="6" width="6" id="tl" /> <img alt="" src="tr_curve_white.gif" height="6" width="6" id="tr" />
  <div id="breadCrumb"></div>
  <div style="position: absolute; width: 178px; height: 39px; z-index: 1; left: 1018px; top: 7px; background-color: #DFDFDF; layer-background-color: #DFDFDF; border: 1px none #000000;" id="layer1">  
    <div align="right">
      <h1>عمليات البحث:</h1>
    </div>
  </div>
  <div id="pageName"><br />
  </div><div style="position: absolute; width: 626px; height: 100px; z-index: 1; left: -3px; top: 62px" id="layer1">


<table width="102%" height="107" id="customers">
<tbody><tr id="sectionLinks"> 
  <th width="41%"> <div align="center">ادخل رقم العقار</div></th>
  
</tr>
<tr class="alt">
  <td><form id="form1" name="form1" method="post" action="printR.php">
  <input name="n1_plot" type="text" size="30" />/
  <input name="n2_plot" type="text" size="30" />
  <input name="sub" type="submit" value="اضغط" />
  </form>

</td>
</tr>
</tbody></table>
</td></tr>
</tbody></table>
</td>

<td id="rightcolumn" valign="top" width="106" align="center"><script type="text/javascript">
<!--
function sharethis()
{
txt='<a href="http://www.facebook.com/sharer.php?u='+document.URL+'" target="_blank" title="Facebook">'
txt=txt+'<img src="/images/share_facebook.gif" border="0" width="16px" height="16px" style="margin-right:4px" /></a>';
txt=txt+'<a href="http://twitter.com/home?status=Currently reading '+document.URL+'" target="_blank" title="Twitter">';
txt=txt+'<img src="/images/share_twitter.gif" border="0" width="16px" height="16px" style="margin-right:4px" /></a>';
txt=txt+'<a href="mailto:?&amp;subject='+document.title+'&amp;body=Take%20a%20look%20at%20this%20page%20at%20W3Schools.com:%20'+document.URL+'" target="_blank" title="E-mail">';
txt=txt+'<img src="/images/share_email.gif" border="0" width="16px" height="16px" style="margin-right:4px" /></a>';
txt=txt+'<a href="http://delicious.com/save?v=5&noui&jump=close&url='+document.URL+'&title='+document.title+'" target="_blank" title="Delicious">';
txt=txt+'<img src="/images/share_delicious.gif" border="0" width="16px" height="16px" style="margin-right:4px" /></a>';
txt=txt+'<a href="http://www.reddit.com/submit?url='+document.URL+'" target="_blank" title="Reddit">';
txt=txt+'<img src="/images/share_reddit.gif" border="0" width="16px" height="16px" style="margin-right:4px" /></a>';
txt=txt+'<a href="http://digg.com/submit?url='+document.URL+'&amp;title='+document.title+'" target="_blank" title="Digg">';
txt=txt+'<img src="/images/share_digg.gif" border="0" width="16px" height="16px" style="margin-right:4px" /></a>';
txt=txt+'<a href="http://www.stumbleupon.com/submit?url='+document.URL+'%26title%3D'+document.title+'" target="_blank" title="Stumbleupon">';
txt=txt+'<img src="/images/share_stumbleupon.gif" border="0" width="16px" height="16px" /></a>';
document.getElementById("sharethis").innerHTML=txt;
}
//--></script></td>
</tr></tbody></table>

</td>
</tr></tbody></table>
<hr />
    </div>
	
	<div style="position: absolute; width: 515px; height: 39px; z-index: 1; left: 1px; top: 15px; background-color: #EAF2D3; layer-background-color: #EAF2D3; border: 1px none #000000;" id="layer1">
	  <div align="center">
	    <h1>&nbsp;</h1>
	  </div>
</div>
  <div id="pageNav">
    <div id="sectionLinks"> 
      <div align="center"><a href="#"></a> <a href="searchOwnerPage.html" class="style12"></a> <a href="searchPlotPage.html" class="style12"> </a> <span class="style12"><a href="page2.html"> </a></span></div>
    </div>
    <div class="relatedLinks"><a href="#"></a></div>
  </div>
  <!--end content -->
</div>
<br />
<script type="text/javascript">
    <!--
      var menuitem1 = new menu(7,1,"hidden");
			var menuitem2 = new menu(7,2,"hidden");
			var menuitem3 = new menu(7,3,"hidden");
			var menuitem4 = new menu(7,4,"hidden");
			var menuitem5 = new menu(7,5,"hidden");
			var menuitem6 = new menu(7,6,"hidden");
			var menuitem7 = new menu(7,7,"hidden");
    // -->
    </script>
</body>
</html>

oh I figured it out
the problem was in the browser when I restured the browser to an earlier point of the month it worked but I had another question:sometime when I post values from one page to another and using it in some php code it don't work but other time the same page withe the same code work just fine WHY?????

it is not the problem of browser or anything....just might be due to ur page cached....
for that just clear all ur browser data and run...it will work fine...

just might be due to ur page cached....
for that just clear all ur browser data and run

How can I clear the browser data

ctrl+shift+delete then enter

it depends which browser u r using ...
For google chrome do this....options->under the hood->clear browsing data...
For Mozilla Firefox press ctrl+shift+delete...
Hope this is useful....

thank you all for your replay
I Had another question in one of my pages a pop up window ask for user name and password when entering the name and password it save it and when i refresh the page it don't ask me again I have to restart mozila firefox in order to make it work again
my question is how can i make it work every time without having to restart the browser?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.