Computing.Net > Forums > Web Development > Daily/Weekly updates from txt or Db

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Daily/Weekly updates from txt or Db

Reply to Message Icon

Name: Miketrew
Date: November 7, 2004 at 10:19:11 Pacific
OS: Windows XP SP2
CPU/Ram: 512
Comment:

Hello,
Please forgive me if this is a basic question, I am very new to ASP, and have spent way to long trying to find the answer on the web.

I host a web site for my church.
Each week I would like to show what is happening the next week.

I would like to therefore have a field that looks up the current date in a database (or txt file). and then prints the relative text from that date (formatted if pos)

ie, on Sun 19 Dec the text should show "Christmas Celebration - 6pm"

Have a look at www.beaconsfieldbaptist.org to get idea of what I mean

Thanks very much for your time, and sorry again for my ignorance!

Michael Trew



Sponsored Link
Ads by Google

Response Number 1
Name: b0red
Date: November 7, 2004 at 14:24:14 Pacific
Reply:

Hello, I also run a website for a local church and we use a calendar PHP script. It can be found here.

Sorry if I didn't answer your question, but an online calendar has been very helpful in my situation.


0

Response Number 2
Name: Miketrew
Date: November 9, 2004 at 05:46:11 Pacific
Reply:

Thank you for your reply.

That calender is very impressive, but all I really need is a line of text saying what is happening this week, not a full month!

I have looked at using iframes which the target html page changes each day, but that does seem like a lot of work. If it were linked to a database, i would be a great deal easier!

Looking forward to your help

Michael


0

Response Number 3
Name: Laler
Date: November 9, 2004 at 06:34:37 Pacific
Reply:

does your server supports PHP? ASP can also do, but I'm not very fluent at it...

doing what you want is relatively easy (in both PHP & ASP), but if you're going to use ASP, better wait for someone who's familiar with it :)

^o^
are you in Asia? do you watch Animax Asia? Please Vote



0

Response Number 4
Name: Miketrew
Date: November 10, 2004 at 03:16:01 Pacific
Reply:

Unfortunatly the server does not allow php or cgi.
So I need to either do it in ASP, DHTML or Java.

Looking forward to hearing more!

Cheers
m


0

Response Number 5
Name: Miketrew
Date: November 15, 2004 at 06:44:36 Pacific
Reply:

Thank you for al your help.
I have finally solved the problem with an external javascript js file.

It is not the perfect solution as the text cannot be formatted in the same way as HTML, but it is sufficeint.

Hope this can be of some use to someone,
javascript source - 'daily tip' script


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

Hiding IE Menu Bar and Sc... email viewage



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: Daily/Weekly updates from txt or Db

Text from txt into HTML www.computing.net/answers/webdevel/text-from-txt-into-html/1816.html

can i use mysql to pull from access www.computing.net/answers/webdevel/can-i-use-mysql-to-pull-from-access/3625.html

php/mysql & transaction question www.computing.net/answers/webdevel/phpmysql-amp-transaction-question/3263.html