I have my first form with method "POST" action towards itself...... When the user click on the EDIT link, it will send the data to another page.
this is my code for the HREF:
echo '<td align="center"><font size="2.5" color="#0000FF"><a href="Edit_OT.php?empID='.$row6[0].'&empName='.$row6[1].'&OTDateYear='.$_POST['year_to'].'&OTDateMonth='.$_POST['month_to'].'&OTDateDay='.$_POST['day_to'].'&OTStartTime='. str_pad($SH,2,"0",STR_PAD_LEFT). str_pad($SM,2,"0",STR_PAD_LEFT).'">Edit</a></font></td>';
This is the code for the page that pointed from the href link:
echo '<font size="4"><b>Employee : </b></font>';
echo '<font size ="4">'.$_GET['empID'].' '.$_GET['empName'].'</font>';
In the 2nd page, it will display the ID and Name......some changes will be updated to the database.
How come the pass variable does not work? Can anybody help me out??