Avatar billede hanne-rk Nybegynder
17. september 2003 - 21:54 Der er 30 kommentarer og
1 løsning

Hjælp - flere poster til samme billede

Det ser STORT ud, ved jeg godt, men jeg tror det er ganske enkelt.
Jeg kan bare ikke selv finde ud af det :-(

Jeg skal lave et udtræk fra en database (til butik)
Der er 1-6 varer til hvert billede, og jeg vil kun vise billedet een gang, med alle varerne beskrevet ved siden af i nedenstående tabel.
Der skal altså undersøges om der er flere varer i databsen som h
ar samme billede (felt = foto)

Her kommer "sovsen" (ser voldsom ud, men det er det ikke)
-----
<html>

<head>
<meta http-equiv="Content-Language" content="da">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>varer</title>
</head>

<body bgcolor="#50639B" >
<%
kode = Request.Querystring("gr")
%>
<%
' Databaseforbindelse - husk at angive sti til din database
Set Conn = Server.CreateObject("ADODB.Connection")
DSN = "DRIVER={Microsoft Access Driver (*.mdb)}; "
DSN = DSN & "DBQ=" & Server.MapPath ("data/icl-prisbog.mdb")
Conn.Open DSN

' SQL forespørgsel
strSQL = "Select * from Varer where gruppe='"& kode&"'"
' Udfør forespørgsel (rs indeholder nu resultatet)
Set rs = Conn.Execute(strSQL)
%>

<table border="0" width="100%" style="border-collapse: collapse" bordercolor="#111111" cellpadding="3">
  <tr>
    <td width="100%">
      <p align="center">
      <img border="0" src="produktfoto/logo-lys[1].gif"><br>
      <b><font face="Verdana" size="6" color="#FFFFFF"><% = request("gr") %></font></b></td>
  </tr>
  <tr>
    <td width="100%">
    </td>
  </tr>
  <%
' Gennemløb Recordset (rs) med en løkke
Do While Not rs.EOF
%>

  <tr>
  <form method="POST" action="kurv.asp?kode=bestil">
    <td width="100%" align="center">
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="800" id="AutoNumber1" height="100">
                <tr>
          <td width="120">
<input type="hidden" name="kunde" size="20" value="<%response.write session("kunde")%>">
<input type="hidden" name="varenummer" size="20" value="<%response.write rs("nr")%>">
<input type="hidden" name="betegnelse" size="20" value="<%response.write rs("betegnelse")%>">
<input type="hidden" name="foto" size="20" value="<%response.write rs("foto")%>">
<input type="hidden" name="lillepakke" size="20" value="<%response.write rs("lillepak")%>">
<input type="hidden" name="storpakke" size="20" value="<%response.write rs("storpak")%>">
<input type="hidden" name="storpakpr" size="20" value="<%response.write rs("storpakpr")%>">
<input type="hidden" name="lillepakpr" size="20" value="<%response.write rs("lillepakpr")%>">

          <img src="produktfoto/<% response.write rs("foto")%>_lille.jpg" border="0"></td>
          <td>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" id="AutoNumber2">
            <tr>
              <td width="8%"><b><font face="Verdana" size="1" color="#C0C0C0">
                Varenr </font></b></td>
              <td><b><font face="Verdana" size="1" color="#C0C0C0">Betegnelse
              </font></b></td>
              <td width="8%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                lille pk</font></b></td>
              <td width="12%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                pris pr. stk.</font></b></td>
              <td width="8%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
              stor pk</font></b></td>
              <td width="12%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                pris pr. stk.</font></b></td>
              <td width="14%" align="center">
          <b>
          <font face="Verdana" size="1" color="#C0C0C0">Lille pakke</font></b></td>
              <td width="14%" align="center">
          <b>
          <font face="Verdana" size="1" color="#C0C0C0">Stor pakke</font> </b> </td>
            </tr>
            <tr>
              <td width="8%"><font face="Verdana" size="1" color="#C0C0C0">
<% response.write rs("nr")%></font></td>
              <td><font face="Verdana" size="1" color="#C0C0C0">
              <% response.write rs("betegnelse")%></font></td>
              <td width="8%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("lillepak")%></font></td>
              <td width="12%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("lillepakpr")%></font></td>
              <td width="8%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
              <% response.write rs("storpak")%></font></td>
              <td width="12%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("storpakpr")%></font></td>
              <td width="14%" align="center">
          <input type="text" name="lillepakkestk" size="4" value="0"><input type="submit" value="bestil" name="bestil1" style="color: #C0C0C0; border: 0px solid #C0C0C0; background-color: #50639B"></td>
              <td width="14%" align="center">
          <input type="text" name="storpakkestk" size="4" value="0"><input type="submit" value="bestil" name="bestil" style="color: #C0C0C0; border: 0px solid #C0C0C0; background-color: #50639B"></td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
          </table>
          </td>
        </tr>
      </table>
      <hr color="#C0C0C0" width="600" style="border-style: dotted; border-width: 1" noshade size="1"></td>
  </form>
  </tr>
 
  <%
' Gå til næste Record i rs
  rs.MoveNext

' Fortsæt indtil rs er gennemløbet (EOF = End Of File)
Loop

' Luk databaseforbindelse
Conn.Close
Set Conn = Nothing
%>
 
  </table>


  </body>

</html>
Avatar billede eagleeye Praktikant
17. september 2003 - 22:01 #1
Så den skal hendte og vise alle billederne fra Varer ?
Ved hvert billede skal alle de vare som har de billede som billede vises?
Skal du stadig havde <form> omkring varne??
Avatar billede hanne-rk Nybegynder
17. september 2003 - 22:07 #2
ja tak en om hver vare
Avatar billede hanne-rk Nybegynder
17. september 2003 - 22:08 #3
så man kan bestille en lille eller stor pakke af den enkelte vare
Avatar billede eagleeye Praktikant
17. september 2003 - 22:11 #4
Et bud:


<html>

<head>
<meta http-equiv="Content-Language" content="da">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>varer</title>
</head>

<body bgcolor="#50639B" >
<%
kode = Request.Querystring("gr")
%>
<%
' Databaseforbindelse - husk at angive sti til din database
Set Conn = Server.CreateObject("ADODB.Connection")
DSN = "DRIVER={Microsoft Access Driver (*.mdb)}; "
DSN = DSN & "DBQ=" & Server.MapPath ("data/icl-prisbog.mdb")
Conn.Open DSN

' SQL forespørgsel

strSQL = "Select distinct foto from Varer where gruppe='"& kode&"'"
Set billedeList = Conn.Execute(strSQL)

%>

<table border="0" width="100%" style="border-collapse: collapse" bordercolor="#111111" cellpadding="3">
  <tr>
    <td width="100%">
      <p align="center">
      <img border="0" src="produktfoto/logo-lys[1].gif"><br>
      <b><font face="Verdana" size="6" color="#FFFFFF"><% = request("gr") %></font></b></td>
  </tr>
  <tr>
    <td width="100%">
    </td>
  </tr>
  <%
' Gennemløb Recordset (rs) med en løkke
Do While Not billedeList.EOF
%>
<tr><td>
  <table border="0"><tr><td>
  <img src="produktfoto/<%=billedeList("foto")%>.jpg" border="0"></td></tr></table>
</td></tr>
<%
  strSQL = "Select * from Varer where gruppe='"& kode&"' AND foto = '" & billedeList("foto") & "'"
  ' Udfør forespørgsel (rs indeholder nu resultatet)
  Set rs = Conn.Execute(strSQL)

  Do While Not rs.EOF
%>

  <tr>
  <form method="POST" action="kurv.asp?kode=bestil">
    <td width="100%" align="center">
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="800" id="AutoNumber1" height="100">
                <tr>
          <td width="120">
<input type="hidden" name="kunde" size="20" value="<%response.write session("kunde")%>">
<input type="hidden" name="varenummer" size="20" value="<%response.write rs("nr")%>">
<input type="hidden" name="betegnelse" size="20" value="<%response.write rs("betegnelse")%>">
<input type="hidden" name="foto" size="20" value="<%response.write rs("foto")%>">
<input type="hidden" name="lillepakke" size="20" value="<%response.write rs("lillepak")%>">
<input type="hidden" name="storpakke" size="20" value="<%response.write rs("storpak")%>">
<input type="hidden" name="storpakpr" size="20" value="<%response.write rs("storpakpr")%>">
<input type="hidden" name="lillepakpr" size="20" value="<%response.write rs("lillepakpr")%>">

          </td>
          <td>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" id="AutoNumber2">
            <tr>
              <td width="8%"><b><font face="Verdana" size="1" color="#C0C0C0">
                Varenr </font></b></td>
              <td><b><font face="Verdana" size="1" color="#C0C0C0">Betegnelse
              </font></b></td>
              <td width="8%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                lille pk</font></b></td>
              <td width="12%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                pris pr. stk.</font></b></td>
              <td width="8%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
              stor pk</font></b></td>
              <td width="12%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                pris pr. stk.</font></b></td>
              <td width="14%" align="center">
          <b>
          <font face="Verdana" size="1" color="#C0C0C0">Lille pakke</font></b></td>
              <td width="14%" align="center">
          <b>
          <font face="Verdana" size="1" color="#C0C0C0">Stor pakke</font> </b> </td>
            </tr>
            <tr>
              <td width="8%"><font face="Verdana" size="1" color="#C0C0C0">
<% response.write rs("nr")%></font></td>
              <td><font face="Verdana" size="1" color="#C0C0C0">
              <% response.write rs("betegnelse")%></font></td>
              <td width="8%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("lillepak")%></font></td>
              <td width="12%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("lillepakpr")%></font></td>
              <td width="8%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
              <% response.write rs("storpak")%></font></td>
              <td width="12%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("storpakpr")%></font></td>
              <td width="14%" align="center">
          <input type="text" name="lillepakkestk" size="4" value="0"><input type="submit" value="bestil" name="bestil1" style="color: #C0C0C0; border: 0px solid #C0C0C0; background-color: #50639B"></td>
              <td width="14%" align="center">
          <input type="text" name="storpakkestk" size="4" value="0"><input type="submit" value="bestil" name="bestil" style="color: #C0C0C0; border: 0px solid #C0C0C0; background-color: #50639B"></td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
          </table>
          </td>
        </tr>
      </table>
      <hr color="#C0C0C0" width="600" style="border-style: dotted; border-width: 1" noshade size="1"></td>
  </form>
  </tr>
 
  <%
' Gå til næste Record i rs
  rs.MoveNext

' Fortsæt indtil rs er gennemløbet (EOF = End Of File)
Loop
billedeList.Movenext
loop

' Luk databaseforbindelse
Conn.Close
Set Conn = Nothing
%>
 
  </table>


  </body>

</html>
Avatar billede hanne-rk Nybegynder
17. september 2003 - 22:17 #5
ok du er inde på det rigtige, men alle varerne skal indsættes i den tabel der nu er tom (med 1 udfyldt og 5 ikke udfyldt) det er her de næste varer skal ligge, så 6 varer kun fylder 100px i højden.

kan man ikke det ?
ca. sådan her :


              vare 1 osv
              vare 2 osv
Foto          vare 3 osv
              vare 4 osv
              vare 5 osv
              vare 6 osv
Avatar billede eagleeye Praktikant
17. september 2003 - 22:21 #6
Skal du stadig havde alt det med form'en?
Avatar billede hanne-rk Nybegynder
17. september 2003 - 22:23 #7
jepper - ved hver vare
Avatar billede eagleeye Praktikant
17. september 2003 - 22:27 #8
Så prøv dette:


<html>

<head>
<meta http-equiv="Content-Language" content="da">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>varer</title>
</head>

<body bgcolor="#50639B" >
<%
kode = Request.Querystring("gr")
%>
<%
' Databaseforbindelse - husk at angive sti til din database
Set Conn = Server.CreateObject("ADODB.Connection")
DSN = "DRIVER={Microsoft Access Driver (*.mdb)}; "
DSN = DSN & "DBQ=" & Server.MapPath ("data/icl-prisbog.mdb")
Conn.Open DSN

' SQL forespørgsel

strSQL = "Select distinct foto from Varer where gruppe='"& kode&"'"
Set billedeList = Conn.Execute(strSQL)

%>

<table border="0" width="100%" style="border-collapse: collapse" bordercolor="#111111" cellpadding="3">
  <tr>
    <td width="100%">
      <p align="center">
      <img border="0" src="produktfoto/logo-lys[1].gif"><br>
      <b><font face="Verdana" size="6" color="#FFFFFF"><% = request("gr") %></font></b></td>
  </tr>
  <tr>
    <td width="100%">
    </td>
  </tr>
  <%
' Gennemløb Recordset (rs) med en løkke
Do While Not billedeList.EOF
%>
<tr><td>
<table border="0"><tr><td>
  <img src="produktfoto/<%=billedeList("foto")%>.jpg" border="0">
</td>
<td>
<%
  strSQL = "Select * from Varer where gruppe='"& kode&"' AND foto = '" & billedeList("foto") & "'"
  ' Udfør forespørgsel (rs indeholder nu resultatet)
  Set rs = Conn.Execute(strSQL)

  Do While Not rs.EOF
%>
  <form method="POST" action="kurv.asp?kode=bestil">
      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="800" id="AutoNumber1" height="100">
                <tr>
          <td width="120">
<input type="hidden" name="kunde" size="20" value="<%response.write session("kunde")%>">
<input type="hidden" name="varenummer" size="20" value="<%response.write rs("nr")%>">
<input type="hidden" name="betegnelse" size="20" value="<%response.write rs("betegnelse")%>">
<input type="hidden" name="foto" size="20" value="<%response.write rs("foto")%>">
<input type="hidden" name="lillepakke" size="20" value="<%response.write rs("lillepak")%>">
<input type="hidden" name="storpakke" size="20" value="<%response.write rs("storpak")%>">
<input type="hidden" name="storpakpr" size="20" value="<%response.write rs("storpakpr")%>">
<input type="hidden" name="lillepakpr" size="20" value="<%response.write rs("lillepakpr")%>">

          </td>
          <td>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" id="AutoNumber2">
            <tr>
              <td width="8%"><b><font face="Verdana" size="1" color="#C0C0C0">
                Varenr </font></b></td>
              <td><b><font face="Verdana" size="1" color="#C0C0C0">Betegnelse
              </font></b></td>
              <td width="8%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                lille pk</font></b></td>
              <td width="12%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                pris pr. stk.</font></b></td>
              <td width="8%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
              stor pk</font></b></td>
              <td width="12%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                pris pr. stk.</font></b></td>
              <td width="14%" align="center">
          <b>
          <font face="Verdana" size="1" color="#C0C0C0">Lille pakke</font></b></td>
              <td width="14%" align="center">
          <b>
          <font face="Verdana" size="1" color="#C0C0C0">Stor pakke</font> </b> </td>
            </tr>
            <tr>
              <td width="8%"><font face="Verdana" size="1" color="#C0C0C0">
<% response.write rs("nr")%></font></td>
              <td><font face="Verdana" size="1" color="#C0C0C0">
              <% response.write rs("betegnelse")%></font></td>
              <td width="8%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("lillepak")%></font></td>
              <td width="12%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("lillepakpr")%></font></td>
              <td width="8%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
              <% response.write rs("storpak")%></font></td>
              <td width="12%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("storpakpr")%></font></td>
              <td width="14%" align="center">
          <input type="text" name="lillepakkestk" size="4" value="0"><input type="submit" value="bestil" name="bestil1" style="color: #C0C0C0; border: 0px solid #C0C0C0; background-color: #50639B"></td>
              <td width="14%" align="center">
          <input type="text" name="storpakkestk" size="4" value="0"><input type="submit" value="bestil" name="bestil" style="color: #C0C0C0; border: 0px solid #C0C0C0; background-color: #50639B"></td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
          </table>
          </td>
        </tr>
      </table>
      <hr color="#C0C0C0" width="600" style="border-style: dotted; border-width: 1" noshade size="1"></td>
  </form>
 
  <%
' Gå til næste Record i rs
  rs.MoveNext

' Fortsæt indtil rs er gennemløbet (EOF = End Of File)
Loop
%>
</td></tr>
</table>
<%
billedeList.Movenext
loop
' Luk databaseforbindelse
Conn.Close
Set Conn = Nothing
%>
</td></tr>
</table>


</body>

</html>
Avatar billede hanne-rk Nybegynder
17. september 2003 - 22:32 #9
naaaa ikke helt
den laver igen en helt ny 100px tabel til hver vare, men ved de sidste er der ingen foto.
ALLE varer skal være til højre for det ene foto der skal være, og tilsammen må de kun fylde 100px i højde
Avatar billede hanne-rk Nybegynder
17. september 2003 - 22:36 #10
ca sådan her :

-----------------------------------------------------------------------
                varenummer1 beskrivelse osv antal [  ] bestil
                varenummer2 beskrivelse osv antal [  ] bestil
                varenummer3 beskrivelse osv antal [  ] bestil
Foto          varenummer4 beskrivelse osv antal [  ] bestil
                varenummer5 beskrivelse osv antal [  ] bestil
                varenummer6 beskrivelse osv antal [  ] bestil
-----------------------------------------------------------------------
Avatar billede eagleeye Praktikant
17. september 2003 - 22:40 #11
Ok Prøv at finde denne linje:

      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="800" id="AutoNumber1" height="100">

Og ret den til :

      <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="800" id="AutoNumber1">
Avatar billede hanne-rk Nybegynder
17. september 2003 - 22:44 #12
nope samme resultat :-(
jeg tror det er fordi det er en tabel i en anden tabel, men jeg kan ikke overskue det :-(
Avatar billede eagleeye Praktikant
17. september 2003 - 22:46 #13
Det er det enste sted jeg umiddelbart kan se en højde..

Prøv også at fjerne alle disse linjer:


            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
Avatar billede eagleeye Praktikant
17. september 2003 - 22:47 #14
de lader til bare at give en masse luft.
Avatar billede hanne-rk Nybegynder
17. september 2003 - 22:48 #15
ja men det er i hver af dem jeg vil have de andre varer lagt ind
Avatar billede hanne-rk Nybegynder
17. september 2003 - 22:50 #16
såden ca sådan her :

<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Ny side 1</title>
</head>

<body>

<table style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellPadding="3" width="100%" border="0">
  <tr>
    <td>
    <table border="0">
      <tr>
        <td>
        <form action="http://laptop/iclauvring.dk/webshop/kurv.asp?kode=bestil" method="post">
          <hr style="BORDER-RIGHT: 1px dotted; BORDER-TOP: 1px dotted; BORDER-LEFT: 1px dotted; BORDER-BOTTOM: 1px dotted" width="600" color="#c0c0c0" noShade SIZE="1">
        </form>
        </td>
      </tr>
    </table>
    </td>
  </tr>
  <tr>
    <td>
    <table border="0">
      <tr>
        <td>
        <form action="http://laptop/iclauvring.dk/webshop/kurv.asp?kode=bestil" method="post">
          <table id="AutoNumber1" style="BORDER-COLLAPSE: collapse" borderColor="#111111" height="100" cellSpacing="0" cellPadding="0" width="800" border="0">
            <tr>
              <td width="120">
              <input type="hidden" value="17-09-2003 21:29:22" name="kunde">
              <input type="hidden" value="65583" name="varenummer">
              <input type="hidden" value="KONISK KURV H55 JERNFOD      " name="betegnelse">
              <input type="hidden" value="b-250,2.jpg" name="foto">
              <input type="hidden" value="6" name="lillepakke">
              <input type="hidden" value="18" name="storpakke">
              <input type="hidden" value="66,5" name="storpakpr">
              <input type="hidden" value="72" name="lillepakpr">
              <img src="http://laptop/iclauvring.dk/webshop/produktfoto/b-250,2.jpg.jpg" border="0"></td>
              <td>
              <table id="AutoNumber2" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0" width="95%" border="0">
                <tr>
                  <td width="8%"><b>
                  <font face="Verdana" color="#c0c0c0" size="1">Varenr </font>
                  </b></td>
                  <td><b><font face="Verdana" color="#c0c0c0" size="1">
                  Betegnelse </font></b></td>
                  <td align="middle" width="8%"><b>
                  <font face="Verdana" color="#c0c0c0" size="1">lille pk</font></b></td>
                  <td align="middle" width="12%"><b>
                  <font face="Verdana" color="#c0c0c0" size="1">pris pr. stk.</font></b></td>
                  <td align="middle" width="8%"><b>
                  <font face="Verdana" color="#c0c0c0" size="1">stor pk</font></b></td>
                  <td align="middle" width="12%"><b>
                  <font face="Verdana" color="#c0c0c0" size="1">pris pr. stk.</font></b></td>
                  <td align="middle" width="14%"><b>
                  <font face="Verdana" color="#c0c0c0" size="1">Lille pakke</font></b></td>
                  <td align="middle" width="14%"><b>
                  <font face="Verdana" color="#c0c0c0" size="1">Stor pakke</font>
                  </b></td>
                </tr>
                <tr>
                  <td width="8%"><font face="Verdana" color="#c0c0c0" size="1">
                  65583</font></td>
                  <td><font face="Verdana" color="#c0c0c0" size="1">KONISK KURV
                  H55 JERNFOD </font></td>
                  <td align="middle" width="8%">
                  <font face="Verdana" color="#c0c0c0" size="1">6</font></td>
                  <td align="middle" width="12%">
                  <font face="Verdana" color="#c0c0c0" size="1">72</font></td>
                  <td align="middle" width="8%">
                  <font face="Verdana" color="#c0c0c0" size="1">18</font></td>
                  <td align="middle" width="12%">
                  <font face="Verdana" color="#c0c0c0" size="1">66,5</font></td>
                  <td align="middle" width="14%">
                  <input size="4" value="0" name="lillepakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil1"></td>
                  <td align="middle" width="14%">
                  <input size="4" value="0" name="storpakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil"></td>
                </tr>
                <tr>
                  <td width="8%"><font face="Verdana" color="#c0c0c0" size="1">
                  65583</font></td>
                  <td><font face="Verdana" color="#c0c0c0" size="1">KONISK KURV
                  H55 JERNFOD </font></td>
                  <td align="middle" width="8%">
                  <font face="Verdana" color="#c0c0c0" size="1">6</font></td>
                  <td align="middle" width="12%">
                  <font face="Verdana" color="#c0c0c0" size="1">72</font></td>
                  <td align="middle" width="8%">
                  <font face="Verdana" color="#c0c0c0" size="1">18</font></td>
                  <td align="middle" width="12%">
                  <font face="Verdana" color="#c0c0c0" size="1">66,5</font></td>
                  <td align="middle" width="14%">
                  <input size="4" value="0" name="lillepakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil1"></td>
                  <td align="middle" width="14%">
                  <input size="4" value="0" name="storpakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil"></td>
                </tr>
                <tr>
                  <td width="8%"><font face="Verdana" color="#c0c0c0" size="1">
                  65583</font></td>
                  <td><font face="Verdana" color="#c0c0c0" size="1">KONISK KURV
                  H55 JERNFOD </font></td>
                  <td align="middle" width="8%">
                  <font face="Verdana" color="#c0c0c0" size="1">6</font></td>
                  <td align="middle" width="12%">
                  <font face="Verdana" color="#c0c0c0" size="1">72</font></td>
                  <td align="middle" width="8%">
                  <font face="Verdana" color="#c0c0c0" size="1">18</font></td>
                  <td align="middle" width="12%">
                  <font face="Verdana" color="#c0c0c0" size="1">66,5</font></td>
                  <td align="middle" width="14%">
                  <input size="4" value="0" name="lillepakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil1"></td>
                  <td align="middle" width="14%">
                  <input size="4" value="0" name="storpakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil"></td>
                </tr>
                <tr>
                  <td width="8%"><font face="Verdana" color="#c0c0c0" size="1">
                  65583</font></td>
                  <td><font face="Verdana" color="#c0c0c0" size="1">KONISK KURV
                  H55 JERNFOD </font></td>
                  <td align="middle" width="8%">
                  <font face="Verdana" color="#c0c0c0" size="1">6</font></td>
                  <td align="middle" width="12%">
                  <font face="Verdana" color="#c0c0c0" size="1">72</font></td>
                  <td align="middle" width="8%">
                  <font face="Verdana" color="#c0c0c0" size="1">18</font></td>
                  <td align="middle" width="12%">
                  <font face="Verdana" color="#c0c0c0" size="1">66,5</font></td>
                  <td align="middle" width="14%">
                  <input size="4" value="0" name="lillepakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil1"></td>
                  <td align="middle" width="14%">
                  <input size="4" value="0" name="storpakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil"></td>
                </tr>
                <tr>
                  <td width="8%"><font face="Verdana" color="#c0c0c0" size="1">
                  65583</font></td>
                  <td><font face="Verdana" color="#c0c0c0" size="1">KONISK KURV
                  H55 JERNFOD </font></td>
                  <td align="middle" width="8%">
                  <font face="Verdana" color="#c0c0c0" size="1">6</font></td>
                  <td align="middle" width="12%">
                  <font face="Verdana" color="#c0c0c0" size="1">72</font></td>
                  <td align="middle" width="8%">
                  <font face="Verdana" color="#c0c0c0" size="1">18</font></td>
                  <td align="middle" width="12%">
                  <font face="Verdana" color="#c0c0c0" size="1">66,5</font></td>
                  <td align="middle" width="14%">
                  <input size="4" value="0" name="lillepakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil1"></td>
                  <td align="middle" width="14%">
                  <input size="4" value="0" name="storpakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil"></td>
                </tr>
                <tr>
                  <td width="8%"><font face="Verdana" color="#c0c0c0" size="1">
                  65583</font></td>
                  <td><font face="Verdana" color="#c0c0c0" size="1">KONISK KURV
                  H55 JERNFOD </font></td>
                  <td align="middle" width="8%">
                  <font face="Verdana" color="#c0c0c0" size="1">6</font></td>
                  <td align="middle" width="12%">
                  <font face="Verdana" color="#c0c0c0" size="1">72</font></td>
                  <td align="middle" width="8%">
                  <font face="Verdana" color="#c0c0c0" size="1">18</font></td>
                  <td align="middle" width="12%">
                  <font face="Verdana" color="#c0c0c0" size="1">66,5</font></td>
                  <td align="middle" width="14%">
                  <input size="4" value="0" name="lillepakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil1"></td>
                  <td align="middle" width="14%">
                  <input size="4" value="0" name="storpakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil"></td>
                </tr>
              </table>
              </td>
            </tr>
          </table>
        </form>
        </td>
      </tr>
    </table>
    </td>
  </tr>
</table>

</body>

</html>
Avatar billede eagleeye Praktikant
17. september 2003 - 22:50 #17
Den loop gennem de 1-6 vare og så det kommer med for hver vare.
Avatar billede hanne-rk Nybegynder
17. september 2003 - 22:53 #18
ja sådan
Avatar billede hanne-rk Nybegynder
17. september 2003 - 22:53 #19
indtil der ikke er flere som har det samme billede, så går den videre til næste billede i databasen og finder de varer der hører dertil
Avatar billede eagleeye Praktikant
17. september 2003 - 23:05 #20
det du har vist kan jeg ikke se noget galt i??
Avatar billede hanne-rk Nybegynder
17. september 2003 - 23:07 #21
nej men det er noget jeg har lavet manuelt, det jeg får fra din er :

<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Ny side 1</title>
</head>

<body>

<table style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellPadding="3" width="100%" border="0">
  <tr>
    <td>
    <table border="0">
      <tr>
        <td>
        <form action="http://laptop/iclauvring.dk/webshop/kurv.asp?kode=bestil" method="post">
          <hr style="BORDER-RIGHT: 1px dotted; BORDER-TOP: 1px dotted; BORDER-LEFT: 1px dotted; BORDER-BOTTOM: 1px dotted" width="600" color="#c0c0c0" noShade SIZE="1">
        </form>
        </td>
      </tr>
    </table>
    </td>
  </tr>
  <tr>
    <td>
    <table border="0">
      <tr>
        <td>
        <img src="http://laptop/iclauvring.dk/webshop/produktfoto/b-194,2.jpg.jpg" border="0">
        </td>
        <td>
        <form action="http://laptop/iclauvring.dk/webshop/kurv.asp?kode=bestil" method="post">
          <table id="AutoNumber1" style="BORDER-COLLAPSE: collapse" borderColor="#111111" height="100" cellSpacing="0" cellPadding="0" width="800" border="0">
            <tr>
              <td width="120">
              <input type="hidden" value="17-09-2003 21:29:22" name="kunde">
              <input type="hidden" value="51045" name="varenummer">
              <input type="hidden" value="POKAL M/PRISMEKANT Ø15 H23    " name="betegnelse">
              <input type="hidden" value="b-194,2.jpg" name="foto">
              <input type="hidden" value="4" name="lillepakke">
              <input type="hidden" value="12" name="storpakke">
              <input type="hidden" value="35,75" name="storpakpr">
              <input type="hidden" value="38,9" name="lillepakpr"></td>
              <td>
              <table id="AutoNumber2" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0" width="95%" border="0">
                <tr>
                  <td width="8%"><b>
                  <font face="Verdana" color="#c0c0c0" size="1">Varenr </font>
                  </b></td>
                  <td><b><font face="Verdana" color="#c0c0c0" size="1">
                  Betegnelse </font></b></td>
                  <td align="middle" width="8%"><b>
                  <font face="Verdana" color="#c0c0c0" size="1">lille pk</font></b></td>
                  <td align="middle" width="12%"><b>
                  <font face="Verdana" color="#c0c0c0" size="1">pris pr. stk.</font></b></td>
                  <td align="middle" width="8%"><b>
                  <font face="Verdana" color="#c0c0c0" size="1">stor pk</font></b></td>
                  <td align="middle" width="12%"><b>
                  <font face="Verdana" color="#c0c0c0" size="1">pris pr. stk.</font></b></td>
                  <td align="middle" width="14%"><b>
                  <font face="Verdana" color="#c0c0c0" size="1">Lille pakke</font></b></td>
                  <td align="middle" width="14%"><b>
                  <font face="Verdana" color="#c0c0c0" size="1">Stor pakke</font>
                  </b></td>
                </tr>
                <tr>
                  <td width="8%"><font face="Verdana" color="#c0c0c0" size="1">
                  51045</font></td>
                  <td><font face="Verdana" color="#c0c0c0" size="1">POKAL
                  M/PRISMEKANT Ø15 H23 </font></td>
                  <td align="middle" width="8%">
                  <font face="Verdana" color="#c0c0c0" size="1">4</font></td>
                  <td align="middle" width="12%">
                  <font face="Verdana" color="#c0c0c0" size="1">38,9</font></td>
                  <td align="middle" width="8%">
                  <font face="Verdana" color="#c0c0c0" size="1">12</font></td>
                  <td align="middle" width="12%">
                  <font face="Verdana" color="#c0c0c0" size="1">35,75</font></td>
                  <td align="middle" width="14%">
                  <input size="4" value="0" name="lillepakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil1"></td>
                  <td align="middle" width="14%">
                  <input size="4" value="0" name="storpakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil"></td>
                </tr>
                <tr>
                  <td width="8%">&nbsp;</td>
                  <td>&nbsp;</td>
                  <td align="middle" width="8%">&nbsp;</td>
                  <td align="middle" width="12%">&nbsp;</td>
                  <td align="middle" width="8%">&nbsp;</td>
                  <td align="middle" width="12%">&nbsp;</td>
                  <td align="middle" width="14%">&nbsp;</td>
                  <td align="middle" width="14%">&nbsp;</td>
                </tr>
                <tr>
                  <td width="8%">&nbsp;</td>
                  <td>&nbsp;</td>
                  <td align="middle" width="8%">&nbsp;</td>
                  <td align="middle" width="12%">&nbsp;</td>
                  <td align="middle" width="8%">&nbsp;</td>
                  <td align="middle" width="12%">&nbsp;</td>
                  <td align="middle" width="14%">&nbsp;</td>
                  <td align="middle" width="14%">&nbsp;</td>
                </tr>
                <tr>
                  <td width="8%">&nbsp;</td>
                  <td>&nbsp;</td>
                  <td align="middle" width="8%">&nbsp;</td>
                  <td align="middle" width="12%">&nbsp;</td>
                  <td align="middle" width="8%">&nbsp;</td>
                  <td align="middle" width="12%">&nbsp;</td>
                  <td align="middle" width="14%">&nbsp;</td>
                  <td align="middle" width="14%">&nbsp;</td>
                </tr>
                <tr>
                  <td width="8%">&nbsp;</td>
                  <td>&nbsp;</td>
                  <td align="middle" width="8%">&nbsp;</td>
                  <td align="middle" width="12%">&nbsp;</td>
                  <td align="middle" width="8%">&nbsp;</td>
                  <td align="middle" width="12%">&nbsp;</td>
                  <td align="middle" width="14%">&nbsp;</td>
                  <td align="middle" width="14%">&nbsp;</td>
                </tr>
              </table>
              </td>
            </tr>
          </table>
          <hr style="BORDER-RIGHT: 1px dotted; BORDER-TOP: 1px dotted; BORDER-LEFT: 1px dotted; BORDER-BOTTOM: 1px dotted" width="600" color="#c0c0c0" noShade SIZE="1">
        </form>
        </td>
        <form action="http://laptop/iclauvring.dk/webshop/kurv.asp?kode=bestil" method="post">
        </form>
      </tr>
    </table>
    <table id="AutoNumber1" style="BORDER-COLLAPSE: collapse" borderColor="#111111" height="100" cellSpacing="0" cellPadding="0" width="800" border="0">
      <tr>
        <td width="120">&nbsp;</td>
        <td>
        <table id="AutoNumber2" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0" width="95%" border="0">
          <tr>
            <td width="8%"><b><font face="Verdana" color="#c0c0c0" size="1">
            Varenr </font></b></td>
            <td><b><font face="Verdana" color="#c0c0c0" size="1">Betegnelse
            </font></b></td>
            <td align="middle" width="8%"><b>
            <font face="Verdana" color="#c0c0c0" size="1">lille pk</font></b></td>
            <td align="middle" width="12%"><b>
            <font face="Verdana" color="#c0c0c0" size="1">pris pr. stk.</font></b></td>
            <td align="middle" width="8%"><b>
            <font face="Verdana" color="#c0c0c0" size="1">stor pk</font></b></td>
            <td align="middle" width="12%"><b>
            <font face="Verdana" color="#c0c0c0" size="1">pris pr. stk.</font></b></td>
            <td align="middle" width="14%"><b>
            <font face="Verdana" color="#c0c0c0" size="1">Lille pakke</font></b></td>
            <td align="middle" width="14%"><b>
            <font face="Verdana" color="#c0c0c0" size="1">Stor pakke</font> </b>
            </td>
          </tr>
          <tr>
            <td width="8%"><font face="Verdana" color="#c0c0c0" size="1">51046</font></td>
            <td><font face="Verdana" color="#c0c0c0" size="1">SKÅL M/PRISMEKANT
            Ø22 H16 </font></td>
            <td align="middle" width="8%">
            <font face="Verdana" color="#c0c0c0" size="1">4</font></td>
            <td align="middle" width="12%">
            <font face="Verdana" color="#c0c0c0" size="1">65,9</font></td>
            <td align="middle" width="8%">
            <font face="Verdana" color="#c0c0c0" size="1">12</font></td>
            <td align="middle" width="12%">
            <font face="Verdana" color="#c0c0c0" size="1">60,5</font></td>
            <td align="middle" width="14%">
            <input size="4" value="0" name="lillepakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil1"></td>
            <td align="middle" width="14%">
            <input size="4" value="0" name="storpakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil"></td>
          </tr>
          <tr>
            <td width="8%">&nbsp;</td>
            <td>&nbsp;</td>
            <td align="middle" width="8%">&nbsp;</td>
            <td align="middle" width="12%">&nbsp;</td>
            <td align="middle" width="8%">&nbsp;</td>
            <td align="middle" width="12%">&nbsp;</td>
            <td align="middle" width="14%">&nbsp;</td>
            <td align="middle" width="14%">&nbsp;</td>
          </tr>
          <tr>
            <td width="8%">&nbsp;</td>
            <td>&nbsp;</td>
            <td align="middle" width="8%">&nbsp;</td>
            <td align="middle" width="12%">&nbsp;</td>
            <td align="middle" width="8%">&nbsp;</td>
            <td align="middle" width="12%">&nbsp;</td>
            <td align="middle" width="14%">&nbsp;</td>
            <td align="middle" width="14%">&nbsp;</td>
          </tr>
          <tr>
            <td width="8%">&nbsp;</td>
            <td>&nbsp;</td>
            <td align="middle" width="8%">&nbsp;</td>
            <td align="middle" width="12%">&nbsp;</td>
            <td align="middle" width="8%">&nbsp;</td>
            <td align="middle" width="12%">&nbsp;</td>
            <td align="middle" width="14%">&nbsp;</td>
            <td align="middle" width="14%">&nbsp;</td>
          </tr>
          <tr>
            <td width="8%">&nbsp;</td>
            <td>&nbsp;</td>
            <td align="middle" width="8%">&nbsp;</td>
            <td align="middle" width="12%">&nbsp;</td>
            <td align="middle" width="8%">&nbsp;</td>
            <td align="middle" width="12%">&nbsp;</td>
            <td align="middle" width="14%">&nbsp;</td>
            <td align="middle" width="14%">&nbsp;</td>
          </tr>
        </table>
        </td>
      </tr>
    </table>
    <hr style="BORDER-RIGHT: 1px dotted; BORDER-TOP: 1px dotted; BORDER-LEFT: 1px dotted; BORDER-BOTTOM: 1px dotted" width="600" color="#c0c0c0" noShade SIZE="1">
    </td>
    <form action="http://laptop/iclauvring.dk/webshop/kurv.asp?kode=bestil" method="post">
    </form>
  </tr>
</table>
<table id="AutoNumber1" style="BORDER-COLLAPSE: collapse" borderColor="#111111" height="100" cellSpacing="0" cellPadding="0" width="800" border="0">
  <tr>
    <td width="120">&nbsp;</td>
    <td>
    <table id="AutoNumber2" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0" width="95%" border="0">
      <tr>
        <td width="8%"><b><font face="Verdana" color="#c0c0c0" size="1">Varenr
        </font></b></td>
        <td><b><font face="Verdana" color="#c0c0c0" size="1">Betegnelse </font>
        </b></td>
        <td align="middle" width="8%"><b>
        <font face="Verdana" color="#c0c0c0" size="1">lille pk</font></b></td>
        <td align="middle" width="12%"><b>
        <font face="Verdana" color="#c0c0c0" size="1">pris pr. stk.</font></b></td>
        <td align="middle" width="8%"><b>
        <font face="Verdana" color="#c0c0c0" size="1">stor pk</font></b></td>
        <td align="middle" width="12%"><b>
        <font face="Verdana" color="#c0c0c0" size="1">pris pr. stk.</font></b></td>
        <td align="middle" width="14%"><b>
        <font face="Verdana" color="#c0c0c0" size="1">Lille pakke</font></b></td>
        <td align="middle" width="14%"><b>
        <font face="Verdana" color="#c0c0c0" size="1">Stor pakke</font> </b>
        </td>
      </tr>
      <tr>
        <td width="8%"><font face="Verdana" color="#c0c0c0" size="1">51043</font></td>
        <td><font face="Verdana" color="#c0c0c0" size="1">HURRICANE M/PRISMEKANT
        Ø15 H11</font></td>
        <td align="middle" width="8%">
        <font face="Verdana" color="#c0c0c0" size="1">6</font></td>
        <td align="middle" width="12%">
        <font face="Verdana" color="#c0c0c0" size="1">29,9</font></td>
        <td align="middle" width="8%">
        <font face="Verdana" color="#c0c0c0" size="1">24</font></td>
        <td align="middle" width="12%">
        <font face="Verdana" color="#c0c0c0" size="1">27,5</font></td>
        <td align="middle" width="14%">
        <input size="4" value="0" name="lillepakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil1"></td>
        <td align="middle" width="14%">
        <input size="4" value="0" name="storpakkestk"><input style="BORDER-RIGHT: #c0c0c0 0px solid; BORDER-TOP: #c0c0c0 0px solid; BORDER-LEFT: #c0c0c0 0px solid; COLOR: #c0c0c0; BORDER-BOTTOM: #c0c0c0 0px solid; BACKGROUND-COLOR: #50639b" type="submit" value="bestil" name="bestil"></td>
      </tr>
      <tr>
        <td width="8%">&nbsp;</td>
        <td>&nbsp;</td>
        <td align="middle" width="8%">&nbsp;</td>
        <td align="middle" width="12%">&nbsp;</td>
        <td align="middle" width="8%">&nbsp;</td>
        <td align="middle" width="12%">&nbsp;</td>
        <td align="middle" width="14%">&nbsp;</td>
        <td align="middle" width="14%">&nbsp;</td>
      </tr>
      <tr>
        <td width="8%">&nbsp;</td>
        <td>&nbsp;</td>
        <td align="middle" width="8%">&nbsp;</td>
        <td align="middle" width="12%">&nbsp;</td>
        <td align="middle" width="8%">&nbsp;</td>
        <td align="middle" width="12%">&nbsp;</td>
        <td align="middle" width="14%">&nbsp;</td>
        <td align="middle" width="14%">&nbsp;</td>
      </tr>
      <tr>
        <td width="8%">&nbsp;</td>
        <td>&nbsp;</td>
        <td align="middle" width="8%">&nbsp;</td>
        <td align="middle" width="12%">&nbsp;</td>
        <td align="middle" width="8%">&nbsp;</td>
        <td align="middle" width="12%">&nbsp;</td>
        <td align="middle" width="14%">&nbsp;</td>
        <td align="middle" width="14%">&nbsp;</td>
      </tr>
      <tr>
        <td width="8%">&nbsp;</td>
        <td>&nbsp;</td>
        <td align="middle" width="8%">&nbsp;</td>
        <td align="middle" width="12%">&nbsp;</td>
        <td align="middle" width="8%">&nbsp;</td>
        <td align="middle" width="12%">&nbsp;</td>
        <td align="middle" width="14%">&nbsp;</td>
        <td align="middle" width="14%">&nbsp;</td>
      </tr>
    </table>
    </td>
  </tr>
</table>

</body>

</html>
Avatar billede eagleeye Praktikant
17. september 2003 - 23:09 #22
Prøv lige at slette disse linjer :

            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
            <tr>
              <td width="8%">&nbsp;</td>
              <td>&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="8%" align="center">&nbsp;</td>
              <td width="12%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
              <td width="14%" align="center">&nbsp;</td>
            </tr>
Avatar billede eagleeye Praktikant
17. september 2003 - 23:09 #23
og rette denne:

          <table id="AutoNumber1" style="BORDER-COLLAPSE: collapse" borderColor="#111111" height="100" cellSpacing="0" cellPadding="0" width="800" border="0">

Til:

          <table id="AutoNumber1" style="BORDER-COLLAPSE: collapse" borderColor="#111111"  cellSpacing="0" cellPadding="0" width="800" border="0">
Avatar billede hanne-rk Nybegynder
17. september 2003 - 23:11 #24
ja det pynter, men der kommer stadig en helt ny tabel for hver vare, det skal der ikke, kun en ny række i den lille tabel ved siden af billedet
Avatar billede eagleeye Praktikant
17. september 2003 - 23:17 #25
Så prøv dette:


<html>

<head>
<meta http-equiv="Content-Language" content="da">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>varer</title>
</head>

<body bgcolor="#50639B" >
<%
kode = Request.Querystring("gr")
%>
<%
' Databaseforbindelse - husk at angive sti til din database
Set Conn = Server.CreateObject("ADODB.Connection")
DSN = "DRIVER={Microsoft Access Driver (*.mdb)}; "
DSN = DSN & "DBQ=" & Server.MapPath ("data/icl-prisbog.mdb")
Conn.Open DSN

' SQL forespørgsel

strSQL = "Select distinct foto from Varer where gruppe='"& kode&"'"
Set billedeList = Conn.Execute(strSQL)

%>

<table border="0" width="100%" style="border-collapse: collapse" bordercolor="#111111" cellpadding="3">
  <tr>
    <td width="100%">
      <p align="center">
      <img border="0" src="produktfoto/logo-lys[1].gif"><br>
      <b><font face="Verdana" size="6" color="#FFFFFF"><% = request("gr") %></font></b></td>
  </tr>
  <tr>
    <td width="100%">
    </td>
  </tr>
  <%
' Gennemløb Recordset (rs) med en løkke
Do While Not billedeList.EOF
%>
<tr><td>
<table border="0"><tr><td>
  <img src="produktfoto/<%=billedeList("foto")%>.jpg" border="0">
</td>
<td>

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="800" id="AutoNumber1">

<%
  strSQL = "Select * from Varer where gruppe='"& kode&"' AND foto = '" & billedeList("foto") & "'"
  ' Udfør forespørgsel (rs indeholder nu resultatet)
  Set rs = Conn.Execute(strSQL)

  Do While Not rs.EOF
%>
  <form method="POST" action="kurv.asp?kode=bestil">
  <tr>
      <td width="120">
<input type="hidden" name="kunde" size="20" value="<%response.write session("kunde")%>">
<input type="hidden" name="varenummer" size="20" value="<%response.write rs("nr")%>">
<input type="hidden" name="betegnelse" size="20" value="<%response.write rs("betegnelse")%>">
<input type="hidden" name="foto" size="20" value="<%response.write rs("foto")%>">
<input type="hidden" name="lillepakke" size="20" value="<%response.write rs("lillepak")%>">
<input type="hidden" name="storpakke" size="20" value="<%response.write rs("storpak")%>">
<input type="hidden" name="storpakpr" size="20" value="<%response.write rs("storpakpr")%>">
<input type="hidden" name="lillepakpr" size="20" value="<%response.write rs("lillepakpr")%>">

          </td>
          <td>
          <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" id="AutoNumber2">
            <tr>
              <td width="8%"><b><font face="Verdana" size="1" color="#C0C0C0">
                Varenr </font></b></td>
              <td><b><font face="Verdana" size="1" color="#C0C0C0">Betegnelse
              </font></b></td>
              <td width="8%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                lille pk</font></b></td>
              <td width="12%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                pris pr. stk.</font></b></td>
              <td width="8%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
              stor pk</font></b></td>
              <td width="12%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                pris pr. stk.</font></b></td>
              <td width="14%" align="center">
          <b>
          <font face="Verdana" size="1" color="#C0C0C0">Lille pakke</font></b></td>
              <td width="14%" align="center">
          <b>
          <font face="Verdana" size="1" color="#C0C0C0">Stor pakke</font> </b> </td>
            </tr>
            <tr>
              <td width="8%"><font face="Verdana" size="1" color="#C0C0C0">
<% response.write rs("nr")%></font></td>
              <td><font face="Verdana" size="1" color="#C0C0C0">
              <% response.write rs("betegnelse")%></font></td>
              <td width="8%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("lillepak")%></font></td>
              <td width="12%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("lillepakpr")%></font></td>
              <td width="8%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
              <% response.write rs("storpak")%></font></td>
              <td width="12%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("storpakpr")%></font></td>
              <td width="14%" align="center">
          <input type="text" name="lillepakkestk" size="4" value="0"><input type="submit" value="bestil" name="bestil1" style="color: #C0C0C0; border: 0px solid #C0C0C0; background-color: #50639B"></td>
              <td width="14%" align="center">
          <input type="text" name="storpakkestk" size="4" value="0"><input type="submit" value="bestil" name="bestil" style="color: #C0C0C0; border: 0px solid #C0C0C0; background-color: #50639B"></td>
            </tr>
          </table>
          </td>
        </tr>
      </table>
    </td></tr>
  </form>
  <%
' Gå til næste Record i rs
  rs.MoveNext

' Fortsæt indtil rs er gennemløbet (EOF = End Of File)
Loop
%>
</table>
<hr color="#C0C0C0" width="600" style="border-style: dotted; border-width: 1" noshade size="1">
</td></tr>
</table>
<%
billedeList.Movenext
loop
' Luk databaseforbindelse
Conn.Close
Set Conn = Nothing
%>
</td></tr>
</table>


</body>

</html>
Avatar billede hanne-rk Nybegynder
17. september 2003 - 23:22 #26
puha den er ved at blive lang den her :-)

nej stadig ikke, den laver igen en ny tabel OG der kommer overskrift med ved hver vare, den skal kun på over den første.
Avatar billede eagleeye Praktikant
17. september 2003 - 23:30 #27
Så prøv dette:


<html>

<head>
<meta http-equiv="Content-Language" content="da">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>varer</title>
</head>

<body bgcolor="#50639B" >
<%
kode = Request.Querystring("gr")
%>
<%
' Databaseforbindelse - husk at angive sti til din database
Set Conn = Server.CreateObject("ADODB.Connection")
DSN = "DRIVER={Microsoft Access Driver (*.mdb)}; "
DSN = DSN & "DBQ=" & Server.MapPath ("data/icl-prisbog.mdb")
Conn.Open DSN

' SQL forespørgsel

strSQL = "Select distinct foto from Varer where gruppe='"& kode&"'"
Set billedeList = Conn.Execute(strSQL)

%>

<table border="0" width="100%" style="border-collapse: collapse" bordercolor="#111111" cellpadding="3">
  <tr>
    <td width="100%">
      <p align="center">
      <img border="0" src="produktfoto/logo-lys[1].gif"><br>
      <b><font face="Verdana" size="6" color="#FFFFFF"><% = request("gr") %></font></b></td>
  </tr>
  <tr>
    <td width="100%">
    </td>
  </tr>
  <%
' Gennemløb Recordset (rs) med en løkke
Do While Not billedeList.EOF
%>
<tr><td>
<table border="0"><tr><td>
  <img src="produktfoto/<%=billedeList("foto")%>.jpg" border="0">
</td>
<td>

  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="95%" id="AutoNumber2">
            <tr>
              <td width="8%"><b><font face="Verdana" size="1" color="#C0C0C0">
                Varenr </font></b></td>
              <td><b><font face="Verdana" size="1" color="#C0C0C0">Betegnelse
              </font></b></td>
              <td width="8%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                lille pk</font></b></td>
              <td width="12%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                pris pr. stk.</font></b></td>
              <td width="8%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
              stor pk</font></b></td>
              <td width="12%" align="center"><b><font face="Verdana" size="1" color="#C0C0C0">
                pris pr. stk.</font></b></td>
              <td width="14%" align="center">
          <b>
          <font face="Verdana" size="1" color="#C0C0C0">Lille pakke</font></b></td>
              <td width="14%" align="center">
          <b>
          <font face="Verdana" size="1" color="#C0C0C0">Stor pakke</font> </b>
    </td>
  </tr>

<%
  strSQL = "Select * from Varer where gruppe='"& kode&"' AND foto = '" & billedeList("foto") & "'"
  ' Udfør forespørgsel (rs indeholder nu resultatet)
  Set rs = Conn.Execute(strSQL)

  Do While Not rs.EOF
%>
  <form method="POST" action="kurv.asp?kode=bestil">
<input type="hidden" name="kunde" size="20" value="<%response.write session("kunde")%>">
<input type="hidden" name="varenummer" size="20" value="<%response.write rs("nr")%>">
<input type="hidden" name="betegnelse" size="20" value="<%response.write rs("betegnelse")%>">
<input type="hidden" name="foto" size="20" value="<%response.write rs("foto")%>">
<input type="hidden" name="lillepakke" size="20" value="<%response.write rs("lillepak")%>">
<input type="hidden" name="storpakke" size="20" value="<%response.write rs("storpak")%>">
<input type="hidden" name="storpakpr" size="20" value="<%response.write rs("storpakpr")%>">
<input type="hidden" name="lillepakpr" size="20" value="<%response.write rs("lillepakpr")%>">
            <tr>
              <td width="8%"><font face="Verdana" size="1" color="#C0C0C0">
<% response.write rs("nr")%></font></td>
              <td><font face="Verdana" size="1" color="#C0C0C0">
              <% response.write rs("betegnelse")%></font></td>
              <td width="8%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("lillepak")%></font></td>
              <td width="12%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("lillepakpr")%></font></td>
              <td width="8%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
              <% response.write rs("storpak")%></font></td>
              <td width="12%" align="center"><font face="Verdana" size="1" color="#C0C0C0">
                <% response.write rs("storpakpr")%></font></td>
              <td width="14%" align="center">
          <input type="text" name="lillepakkestk" size="4" value="0"><input type="submit" value="bestil" name="bestil1" style="color: #C0C0C0; border: 0px solid #C0C0C0; background-color: #50639B"></td>
              <td width="14%" align="center">
          <input type="text" name="storpakkestk" size="4" value="0"><input type="submit" value="bestil" name="bestil" style="color: #C0C0C0; border: 0px solid #C0C0C0; background-color: #50639B"></td>
            </tr>
    </form>
  <%
' Gå til næste Record i rs
  rs.MoveNext

' Fortsæt indtil rs er gennemløbet (EOF = End Of File)
Loop
%>
</table>
<hr color="#C0C0C0" width="600" style="border-style: dotted; border-width: 1" noshade size="1">
</td></tr>
</table>
<%
billedeList.Movenext
loop
' Luk databaseforbindelse
Conn.Close
Set Conn = Nothing
%>
</td></tr>
</table>


</body>

</html>
Avatar billede hanne-rk Nybegynder
17. september 2003 - 23:37 #28
HURRAAAAAAA

Sådan , nu er den der bortset fra at den ikke har samme bredde hver gang.
Kan du hurtigt fixe den ? eller gennemser jeg det selv senere.

10000 tak for hjælpen, viiiildt velfortjente point til din kæmpe samling :-)
Avatar billede hanne-rk Nybegynder
17. september 2003 - 23:41 #29
ups du har ikke svaret endnu
Avatar billede eagleeye Praktikant
17. september 2003 - 23:43 #30
Hvilke er ikke lige brede?? ved billedet??
Så hvor meget skal gå til billed og hvor maget skal gå til form felterne?
Avatar billede eagleeye Praktikant
17. september 2003 - 23:44 #31
Du kan rette:

<table border="0"><tr><td>
  <img src="produktfoto/<%=billedeList("foto")%>.jpg" border="0">
</td>
<td>


Til eksvis:

<table border="0" width="100%"><tr><td width="35%">
  <img src="produktfoto/<%=billedeList("foto")%>.jpg" border="0">
</td>
<td width="65%">
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester

Seneste spørgsmål Seneste aktivitet
I dag 21:00 Libre Office Impress Af Frank i Andre styresystemer
I dag 11:47 VB script Af Jenshentze i Word
I dag 11:21 Popup ved opstart Af mort1 i Windows
04/0918:50 Slet lokal konto Af ErikHg i Windows
04/0916:05 Ændre tal i en celle Af xvid i Excel