I am attaching snippet of the Form Code that displays the results of the first query
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<? echo "Hello ::: ".$company."<br>"; ?>
<body bgcolor="aaaaaa" leftmargin="14" topmargin="10">
<form name="form1" method="POST" action="full_profile_1.php?temp=$company">
<table width="780" border="1" align="center" cellpadding="2" cellspacing="2">
<tr>
<td width="778" height="1007"> <table width="775" height="1151" cellpadding="1" cellspacing="2" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<tr bgcolor="#3300CC">
<td height="29" colspan="2"> <div align="center"><font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Complete
Candidate Profile<br>
<br>
</strong></font>
<table width="770" height="27">
<tr>
<td width="385"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif"><? echo $_SESSION['validuser']; ?></font></td>
<td width="385"><div align="right"><font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong><a href="logout.php">Logout</a></strong></font></div></td>
</tr>
</table>
<font color="#FFFFFF" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><br>
</strong></font></div></td>
</tr>
<tr>
<td width="149" height="28" bgcolor="99ccff"><strong><font color="#666666" size="1" face="Verdana, Arial, Helvetica, sans-serif">Company
Name</font></strong></td>
<td width="614" bgcolor="#E7E7E7"><font size="2" color="#552233" face="Verdana, Arial, Helvetica, sans-serif"><strong><? echo "$company"; ?></strong>
<input name="company" type="hidden" id="company3" size="40" value= <? echo "$company"; ?> >
</font></td>
</tr>
<tr>
// END OF SNIPPET
However when I try to access it in the if($submit) part as $_POST['temp'] I get nothing !!!
Thanks in advance,
--Pushpinder
On Friday, August 8, 2003, at 04:57 PM, Jay Blanchard wrote:
[snip] Let me clarify again. The $_GET Parameter was used to to transfer the name from the results page (with the tables etc) to a full-profile_1.php page. On the full_profile_1.php page the user is displayed a form with all the details about the company. On the same page there is a form where changes can be made to values of the fields. I am trying to pass the company name in this form as a POST Parameter. However the Update part of the full_profile.php page is not able to get this value. [/snip]
Clearer now.
Place the value in a hidden form field that can be passed along with the
POST