Click here to Skip to main content
15,888,454 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Bradml6-Feb-07 19:54
Bradml6-Feb-07 19:54 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Jaison Peter6-Feb-07 19:57
Jaison Peter6-Feb-07 19:57 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Bradml6-Feb-07 20:35
Bradml6-Feb-07 20:35 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Jaison Peter6-Feb-07 21:46
Jaison Peter6-Feb-07 21:46 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Bradml7-Feb-07 0:37
Bradml7-Feb-07 0:37 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
PSK_6-Feb-07 21:49
PSK_6-Feb-07 21:49 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Jaison Peter7-Feb-07 0:31
Jaison Peter7-Feb-07 0:31 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Jaison Peter7-Feb-07 0:39
Jaison Peter7-Feb-07 0:39 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Christian Graus7-Feb-07 9:29
protectorChristian Graus7-Feb-07 9:29 
GeneralRe: How can integrate one text box and its result of a live website , multiple times in another webpage ? Pin
Jaison Peter7-Feb-07 14:05
Jaison Peter7-Feb-07 14:05 
QuestionUsing Web Services for Remoting over the Internet Pin
barghus6-Feb-07 12:25
barghus6-Feb-07 12:25 
QuestionJavascript Image Scroller Pin
Mridang Agarwalla6-Feb-07 3:52
Mridang Agarwalla6-Feb-07 3:52 
AnswerRe: Javascript Image Scroller Pin
Bradml6-Feb-07 19:53
Bradml6-Feb-07 19:53 
AnswerRe: Javascript Image Scroller Pin
blue_arc7-Feb-07 1:13
blue_arc7-Feb-07 1:13 
GeneralRe: Javascript Image Scroller Pin
badgrs7-Feb-07 1:16
badgrs7-Feb-07 1:16 
QuestionCSS tables Vs. HTML tables Pin
MayyMagdy6-Feb-07 1:39
MayyMagdy6-Feb-07 1:39 
AnswerRe: CSS tables Vs. HTML tables Pin
DavidNohejl6-Feb-07 4:07
DavidNohejl6-Feb-07 4:07 
AnswerRe: CSS tables Vs. HTML tables Pin
MatrixCoder6-Feb-07 7:39
MatrixCoder6-Feb-07 7:39 
AnswerRe: CSS tables Vs. HTML tables Pin
Guffa6-Feb-07 10:26
Guffa6-Feb-07 10:26 
QuestionRe: CSS tables Vs. HTML tables [modified] Pin
MayyMagdy7-Feb-07 1:26
MayyMagdy7-Feb-07 1:26 
AnswerRe: CSS tables Vs. HTML tables Pin
Guffa7-Feb-07 8:50
Guffa7-Feb-07 8:50 
AnswerRe: CSS tables Vs. HTML tables Pin
blue_arc7-Feb-07 1:17
blue_arc7-Feb-07 1:17 
QuestionASP email form Pin
alamb2005-Feb-07 3:04
alamb2005-Feb-07 3:04 
Hi,

I have been setting up a support web site for my company for a while now and after a recent meeting I have been asked to set up a bit more functionality on the web site.

Before I ask the question, what I have so far is a SQL database made up of several fields such as ID, Problem and Fix and I use ASP to pull information from this database and display it from a ver basic crude search engine.

This all works okay but what I have been asked to provide now is the ability to email the information that is pulled from the database to a customer.

I have tried various methods to do this using an html email form and dropping the information into the input field before emailing it. This failed for two reasons the first been the HTML tags were displayed among the text and second I was not able to manually enter the email address I want to send it to.

I then had a dig around for a while and found some ASP code that looked to do what I required but when I tried it the email was not been sent and I have my doubts it would have included all the text I wanted to send.

Please help

Anthony

Email form:

<%@LANGUAGE="VBSCRIPT"%>

<%
Dim email
Dim email_numRows

Set email = Server.CreateObject("ADODB.Recordset")
email.ActiveConnection = MM_freqs_STRING
email.Source = "SELECT * FROM dbo.faqs"
email.CursorType = 0
email.CursorLocation = 2
email.LockType = 1
email.Open()

email_numRows = 0
%>


Email To:

From


<%=(email.Fields.Item("problem").Value)%>
<%=(email.Fields.Item("fix").Value)%>




<%
email.Close()
Set email = Nothing
%>


Mailing code:

<%
'Sends an email
Dim mail
Set mail = Server.CreateObject("CDO.Message")
mail.To = Request.Form("To")
mail.From = Request.Form("From")
mail.Subject = Request.Form("Subject")
mail.TextBody = Request.Form("Body")
mail.Send()
Response.Write("Mail Sent!")
'Destroy the mail object!
Set mail = nothing
%>
AnswerRe: ASP email form Pin
alamb2005-Feb-07 4:30
alamb2005-Feb-07 4:30 
QuestionPDF Signature Pin
Member 36510615-Feb-07 0:57
Member 36510615-Feb-07 0:57 

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.