Tommy I will post the content of the userinterface in which I want to have a dropdownlist and I will post also the content of a file in which the date should be adapted aswell
this is the user interface
<HTML>
<head>
<title>[EasyPHP] - Web Local</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
a:link { font-weight:bold; color:Silver; text-decoration:none }
a:visited { font-weight:bold; color:Silver; text-decoration:none }
a:hover { font-weight:bold; color:White; text-decoration:none }
a:active { font-weight:bold; color:#E00E00; text-decoration:none }
a:focus { font-weight:bold; color:#00E000; text-decoration:none }
.text1 {font-family: Arial, Helvetica, sans-serif;font-size: 11px;color: White;text-align : center;}
.text2 {font-family: Arial, Helvetica, sans-serif;font-size: 11px;color: Silver;text-align : left;}
.titre1 {font-family: Arial, Helvetica, sans-serif;font-size: 12px;font-weight: bold;color: #FFFFFF;}
.titre2 {font-family: Arial, Helvetica, sans-serif;font-size: 12px;font-weight: bold;color: #cccccc;}
</style>
</head>
<BODY BGCOLOR="#525A73">
<TABLE WIDTH="100%" HEIGHT="100%">
<TR>
<TD class=text1>
Electronic Rem Note version 1.00
</TD>
</TR>
<TR VALIGN="MIDDLE">
<TD ALIGN="CENTER" class=text1>
[ <A HREF='create_data_base.php' class=text2> Créer la base de donnée </A> ] <BR> <BR>
[ <A HREF='test.php' class=text2> Charger resultats de la rem </A> ] <BR> <BR>
[ <A HREF='frame.php?Dealer_Rem=INDEP.00001.01186' class=text2> Recap dealer rem <A> ] <BR> <BR>
[ <A HREF='list.php' class=text2> Dealer Liste </A> ]
<p>[ <A HREF='index_annex.html' class=text2> ANNEX <A> ] <BR> <BR>
</TD>
<TR>
<TD class=text1>
This site has been realized by Paul
</TD>
</TR>
</TR>
</BODY>
</HTML>
and one of the files that should be adapted is
<style type="text/css">
body, td, th, h1, h2 {font-family: sans-serif;}
body, td, th {font-size: 65%;}
a:link { font-weight:bold; color:#000000; text-decoration:none }
a:visited { font-weight:bold; color:#000000; text-decoration:none }
a:hover { font-weight:bold; color:#E00000; text-decoration:none }
a:active { font-weight:bold; color:#E00E00; text-decoration:underline }
a:focus { font-weight:bold; color:#00E000; text-decoration:underline }
.text1 {font-family: Arial, Helvetica, sans-serif;font-size: 14px;color: White;text-align : left;}
.text2 {font-family: Arial, Helvetica, sans-serif;font-size: 11px;color: Silver;text-align : left;}
</style>
<body bgcolor="#525A73">
<?
include "datas/connection_data.php";
include "datas/connect.php";
$Dblnk=connect ();
if (isset($HTTP_GET_VARS)){
while(list($name, $value) = each($HTTP_GET_VARS)){
$$name = $value;
}
}
if (!isset($Dealer_Rem)) $Dealer_Rem = 'INDEP.00001.01186';
if (!isset($Counter)) $Counter=0;
$Current_Month = strtoupper (date("MY", mktime(0,0,0,Date("m")-2,1,Date("Y"))));
if (!isset($Dealer_Pos))
{
include "datas/annex1.php";
$Dealer_Pos = '';
}
else
{
include "datas/annex1_Pos.php";
}
$Line1 = "";
$Line2 = "";
$Line3 = "";
$Line4 = "";
$Line5 = "";
$Line6 = "";
$Line7 = "";
if ($res=send_sql($Data_Base, $Query_annex1))
{
$Tot_Lines = mysql_num_rows($res);
while ($row = mysql_fetch_row ($res))
{
$Line1 = $Line1.$row[0]." <BR>";
$Line3 = $Line3.$row[2]." <BR>";
$Line4 = $Line4.$row[3]." <BR>";
$Line5 = $Line5.$row[4]." <BR>";
$Line6 = $Line6.$row[5]." <BR>";
$Line7 = $Line7.$row[6]." <BR>";
}
echo "<A NAME='Annex1'></A>";
echo "<CENTER> <TABLE WIDTH='800' CELLSPACING='0' CELLPADDING='0'> <TR> <TD> <TABLE BORDER='1' WIDTH='150' class='text1'> <TR> <TD> Annex1 </TD> </TR> </TABLE> </TD> </TR> </TABLE> </CENTER> <BR>";
echo "<CENTER> <TABLE BORDER = '1' class='text1'>";
echo " <TR> <TD COLSPAN='7'> (a) Annex 1 : Overzicht van al uw geremunereerde kaarten/diensten </TD> </TR> <TR> <TD> Verkooppunt</TD> <TD> simkaart </TD> <TD> klant </TD> <TD> Activatiedatum </TD> <TD> tariefplan/dienst </TD> <TD> vergoeding </TD> </TR>";
echo "<TD> ".$Line1." </TD>";
echo "<TD> ".$Line3." </TD>";
echo "<TD> ".$Line4." </TD>";
echo "<TD> ".$Line5." </TD>";
echo "<TD> ".$Line6." </TD>";
echo "<TD> ".$Line7." </TD>";
echo "</TR> </TABLE>";
echo "<BR>";
if ($Counter>0)
{
$CounterPrec = $Counter - 50;
if (!$Dealer_Pos)
{ echo "<A HREF='annex1.php?Dealer_Rem=".$Dealer_Rem."&Counter=".$CounterPrec."'> [ Previous Page ] </A>"; }
else
{ echo "<A HREF='annex1.php?Dealer_Rem=".$Dealer_Rem."&Dealer_Pos=".$Dealer_Pos."&Counter=".$CounterPrec."'> [ Page précédente ] </A>"; }
}
echo "<A HREF='index_Annex.php?Dealer_Rem=".$Dealer_Rem."&Dealer_Pos=".$Dealer_Pos."'> [ back to annex menu ] </A>";
if ($Tot_Lines==50)
{
$Counter += 50;
if (!$Dealer_Pos)
{ echo "<A HREF='annex1.php?Dealer_Rem=".$Dealer_Rem."&Counter=".$Counter."'> [ Next page] </A>"; }
else
{ echo "<A HREF='annex1.php?Dealer_Rem=".$Dealer_Rem."&Dealer_Pos=".$Dealer_Pos."&Counter=".$Counter."'> [ Page suivante ] </A>"; }
}
}
?>
thanks again for the help