Click here to Skip to main content
15,913,722 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Cookie madness Pin
Paul Riley29-Oct-02 0:25
Paul Riley29-Oct-02 0:25 
GeneralRe: Cookie madness Pin
leppie29-Oct-02 2:15
leppie29-Oct-02 2:15 
GeneralRe: Cookie madness Pin
Megan Forbes29-Oct-02 2:39
Megan Forbes29-Oct-02 2:39 
GeneralRe: Cookie madness Pin
leppie29-Oct-02 6:11
leppie29-Oct-02 6:11 
GeneralRe: Cookie madness Pin
Megan Forbes29-Oct-02 6:16
Megan Forbes29-Oct-02 6:16 
GeneralRe: Cookie madness Pin
leppie29-Oct-02 6:27
leppie29-Oct-02 6:27 
Generalmultiple query Pin
Tuvok28-Oct-02 1:11
Tuvok28-Oct-02 1:11 
GeneralRe: multiple query Pin
Nick Parker28-Oct-02 2:41
protectorNick Parker28-Oct-02 2:41 
This should work:

<code>
dim domain, sql, conn, adors
domain = trim(replace(Request.QueryString("domain"), "'", "''"))
sql = "SELECT email FROM requests WHERE domain = '" & domain & "'"
conn  = Server.CreateObject("ADODB.Connection")
adors = Server.CreateObject("ADODB.Recordset")
conn.ConnectionString = "[YourConnectionString]"
conn.Open
adors.ActiveConnection = conn
adors.Open(sql)
With Response
Do Until adors.EOF
      .Write "E-Mail:" & adors("email") & " " & domain & "<br>"
      .Write adors.MoveNext
Loop
End With
adors.Close
Set adors = Nothing
conn.Close
Set conn = Nothing

</code>



Nick Parker

May your glass be ever full.
May the roof over your head be always strong.
And may you be in heaven half an hour before the devil knows you’re dead. - Irish Blessing



QuestionRetrive form field values? Pin
zhoujun27-Oct-02 14:42
zhoujun27-Oct-02 14:42 
AnswerRe: Retrive form field values? Pin
Paul Farry27-Oct-02 20:44
professionalPaul Farry27-Oct-02 20:44 
GeneralRe: Retrive form field values? Pin
zhoujun27-Oct-02 22:03
zhoujun27-Oct-02 22:03 
AnswerRe: Retrive form field values? Pin
Richard Deeming28-Oct-02 1:39
mveRichard Deeming28-Oct-02 1:39 
GeneralRe: Retrive form field values? Pin
zhoujun28-Oct-02 13:31
zhoujun28-Oct-02 13:31 
GeneralRe: Retrive form field values? Pin
Richard Deeming28-Oct-02 22:41
mveRichard Deeming28-Oct-02 22:41 
Generalyourname.something.com Pin
Darroll Walsh26-Oct-02 23:21
Darroll Walsh26-Oct-02 23:21 
GeneralRe: yourname.something.com Pin
Daniel Turini26-Oct-02 23:30
Daniel Turini26-Oct-02 23:30 
GeneralRe: yourname.something.com Pin
Darroll Walsh27-Oct-02 0:01
Darroll Walsh27-Oct-02 0:01 
GeneralRe: yourname.something.com Pin
leppie27-Oct-02 2:33
leppie27-Oct-02 2:33 
GeneralRead file with JavaScript and embed to HTML file Pin
Dominik Reichl26-Oct-02 9:58
Dominik Reichl26-Oct-02 9:58 
GeneralRe: Read file with JavaScript and embed to HTML file Pin
leppie27-Oct-02 2:46
leppie27-Oct-02 2:46 
GeneralRe: Read file with JavaScript and embed to HTML file ???????????????????????????????? Pin
Dominik Reichl27-Oct-02 6:06
Dominik Reichl27-Oct-02 6:06 
GeneralRe: Read file with JavaScript and embed to HTML file ???????????????????????????????? Pin
alex.barylski27-Oct-02 19:32
alex.barylski27-Oct-02 19:32 
GeneralRe: Read file with JavaScript and embed to HTML file ???????????????????????????????? Pin
Paul Watson28-Oct-02 22:45
sitebuilderPaul Watson28-Oct-02 22:45 
GeneralRe: Read file with JavaScript and embed to HTML file ???????????????????????????????? Pin
alex.barylski29-Oct-02 11:43
alex.barylski29-Oct-02 11:43 
GeneralRe: Read file with JavaScript and embed to HTML file ???????????????????????????????? Pin
Paul Watson29-Oct-02 19:37
sitebuilderPaul Watson29-Oct-02 19:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.