Hente en data ned
Hej..Jeg har dette script:
<form action = "http://www.dht.dk/webhotel/support/formmail/formmail.pl" method=POST>
<INPUT TYPE="HIDDEN" NAME="recipient" VALUE="Stationen@e-firma.dk">
<INPUT TYPE="HIDDEN" NAME="redirect" VALUE = "http://www.power-zide.f2s.com/">
<input type="hidden" name="Pakke1" value="<?php echo $Pakke1;?>">
<input type="hidden" name="Pakke1_" value="<?php echo $Pakke1_;?>">
<input type="hidden" name="Pakke2" value="<?php echo $Pakke2;?>">
<input type="hidden" name="Pakke2_" value="<?php echo $Pakke2_;?>">
<input type="hidden" name="Pakke3" value="<?php echo $Pakke3;?>">
<input type="hidden" name="Pakke3_" value="<?php echo $Pakke3_;?>">
<input type="hidden" name="Pakkemulti" value="<?php echo $Pakkemulti;?>">
<input type="hidden" name="Pakkemulti_" value="<?php echo $Pakkemulti_;?>">
<input type="hidden" name="Firma" value="<?php echo $Firma;?>">
<input type="hidden" name="Kontaktperson" value="<?php echo $Kontaktperson;?>">
<input type="hidden" name="Adresse" value="<?php echo $Adresse;?>">
<input type="hidden" name="Adresse2" value="<?php echo $Adresse2;?>">
<input type="hidden" name="Postnrby" value="<?php echo $Postnrby;?>">
<input type="hidden" name="Telefonnummer" value="<?php echo $Telefonnummer;?>">
<input type="hidden" name="E_mail" value="<?php echo $E_mail;?>">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber20" height="184">
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="16">
<font face="tahoma"><small><span class="linkfarveblaa"><font face="tahoma" size="-1"><small><font face="SF Sans Serif"><b><font size="2">Faktureringsoplysninger</font></b><font size="2">
</font></font></small></font></span></small></font></td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="16">
</td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="18">
<font face="SF Sans Serif" size="1">Firma:</font></td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="18">
<?php
echo $firma;
?></td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="18">
<font face="SF Sans Serif" size="1">Kontaktperson:</font></td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="18">
<?php
echo $kontaktperson;
?></td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="18">
<font face="SF Sans Serif" size="1">Adresse:</font></td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="18">
<?php
echo $adresse;
?> </td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="18">
<font face="SF Sans Serif" size="1">Adresse2:</font></td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="18">
<?php
echo $adresse2;
?> </td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="18">
<font face="SF Sans Serif" size="1">Postnr. & by:</font></td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="18">
<?php
echo $postnr_by;
?></td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="18">
<font face="SF Sans Serif" size="1">Telefonnummer:</font></td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="18">
<?php
echo $telefonnummer;
?></td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="18">
<font face="SF Sans Serif" size="1">E-mail:</font></td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="18">
<?php
echo $e_mail;
?></td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="18">
</td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="18">
</td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="16">
<span class="linkfarveblaa"><b><font face="SF Sans Serif" style="font-size: smaller">Pakke</font></b></span><font face="tahoma"><small><span class="linkfarveblaa"><font face="SF Sans Serif" size="-1"><b><small><font size="2">oplysninger</font></small>
</b></font></span></small></font>
</td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="16">
</td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="16">
<font face="SF Sans Serif" size="1">Servicepakke:</font></td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="16">
</td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="16">
</td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="16">
</td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="16">
<font face="tahoma"><small><span class="linkfarveblaa"><font face="MS Sans Serif" size="-1"><b><small><font size="2">Priser (med forbehold for fejl)</font></small>
</b></font></span></small></font>
</td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="16">
</td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="16">
<span class="linkfarveblaa"><font face="MS Sans Serif" size="1">Servicepakke:</font></span></td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="16">
</td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="16">
<font face="MS Sans Serif" size="1"><b>Samlet:</b></font></td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="16">
</td>
</tr>
<tr>
<td width="44%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111" height="16">
</td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="16">
</td>
</tr>
</table>
<input type="submit" value="Afgiv Bestilling" style="font-family: MS Sans Serif; font-size: 10px; color: #000000; background-color: #FFFFFF">
</form>
Så der hvor der står pris, der skal den skrive den pris at dan valgte varer er.
F.eks. hvis man har på de forrige side, valgt pakke 1 så koster den 99,- så skal den skrive det på den sidste side.. Jeg har mysql..
