What I'd like to do is take the contents of our news database, write it dynamically into an xml file, then write a page to display the feed.
So far, I've gotten the part to write the xml file to work, but am having a problem with part 2. One of the tutorials I came across suggested using the...
I'm trying to write a script in asp that will write the contents of a news database into an rss feed.
My problem is stripping the <BR> tags out of the news item. Is there an easy way to convert any tags to line breaks?
Thanks in advance.
Michelle
We just moved to a Windows 2003 box as our webserver. Since the move, I'm having a problem getting to my log files. The path is correct, the log files are there, the directory has read permissions, but whenever I try to access one of the log files I get a 404 page cannot be found error.
Any...
I know how to connect to a database to write a txt file or spreadsheet, but someone has asked me if its possible to write the contents of a sql database table into an Access file.
Possible?
I haven't come up with anything that says yes so far....
Thanks in advance.
Michelle
Thanks to everyone who gave me the advice earlier about CDOSYS - I do plan on trying that out when I get some time. I did get ASP Email working with my script to the point where I can send mail, but now I get an error before something finishes processing:
for i = 0 to last singlemail =...
I had an asp mailing list that sent a message to a text file of recipients, which worked beautifully until the powers that be upgraded servers on me and didn't tell me how my components would be effected.
Anyway, now that I've vented...
This code is now throwing an error:
last =...
I'm guessing this is an easy question, but I can't figure it out. I've got a select box that is populated with fields from a database table:
<select name="subject">
<%
While (NOT catalog.EOF)
%>
<option value="<%=(catalog.Fields.Item("library_subject_id").Value)%>"...
I've got a little chat application I'm trying to modify, so far I've added all the features I want, except I can't figure out how to clear the contents of the chat window when someone leaves the room.
This is the code that is supposed to clear everything:
<%
application("emchatusers") = ""...
In my on again, off again attempt to get a problem with a series of web forms straightened out, I came up with a new question about session variables.
I've got a two part application form. Once the user completes part 1, it inserts into a database table where I've got an auto-number...
I know I'm missing something obvious, but I'm back to having a problem with setting a session variable - I'm guessing its the way I'm setting it, but I'm not sure what I'm doing wrong. Here's what I'm trying to set it:
<%
set strSQL = applicant.Execute("SELECT applicant_id FROM...
This isn't my day - I've got a two part application form. Once the user completes part 1, it inserts into a database table where I've got an auto-number applicant_id field.
My question is this - I want the applicant_id to carry over to the next page and insert into the next database table...
I'm trying to pass a form variable from one page (a current job opening page) to another (an online application)
Here's what I'm using on the job description page:
<form name="apply" method="post" action="/human_resources/online_application/apply.asp">
<input type="hidden"...
I'm trying to set up a form that will on submit, go into a SQL database. http://www.lemoyne.edu/pa/pa_log.asp
What I'm trying to figure out is how allow a user to check a couple fields and hold the value of the field (like name and preceptor) - so when they submit the form and return to this...
Let me preface by saying, this is my first crack at doing anything with XML.
I'm trying to create a rss feed based on our site's news database content. My first problem is that some of the entries in the database contain html characters - the two I don't know how to escape or encode (if I'm...
I'm sure this will fall into the "things I should know", but I'm stuck. I'm trying to create a FAQ section where questions are organized by topic.
If this is my select statement
SELECT help_question, help_link, help_category, help_posted, help_answer FROM dbo.help_faq ORDER BY...
I'm in the process of migrating my SQL databases to a new server - all the code I've written works fine, but I'm stuck on this piece that someone who is no longer here wrote. Its taking the entries in a sports news database and displaying it on a page...
I'm migrating several SQL databases from SQL Server 7 to 2000. I noticed that everything moves well except any column type that is set to text or ntext.
Any text or ntext columns will cause my ASP pages to blow up, giving an error that says "Multiple-step OLE DB operation generated errors...
I'm not sure what I've done wrong, but I'm trying to put together a new menu for our home page - everything works fine except the first submenu on the Admission section - it flies off to the right:
http://wwwdev.lemoyne.edu/menu_test/nav.asp
So I'm not sure if its my style sheet...
I've got an XML feed that I'm trying to write out in an asp page (I'll confess this is the first time I've tried this).
The xml looks good, but the code I have on the asp page won't display the feed:
<!--#include file="subWriteRss.asp"-->
<%
Function getXML(sourceFile)
dim styleFile
dim...
I'm trying to write a form that will send an html email with the responses using ASPEmail. Everything looks great except multi-line form fields. If someone enters a line break in the field, how can I pass that through.
For instance, if I have this field on my form:
Department(s) job charged...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.