This is my scenario. On the left of the screen, I have a list of news items, which are updated by the user and inserted into a database, and then they are dynamically displayed on screen from the database.
Now what I want is that if a user clicks a hyperlink from the left of the screen on a news item, the relevant text is displayed on the right. What I did up till now was that if I point on a news Item to the left of the screen, I know which item in the recordset it is since I created a counter.
I have written a RSS News Fees application for my site, by I want to limit the number of news items to only 5 instead of the 10 that Reuters sends. Here is the main code:
As the client uploads the December news story, it replaces the November story and adds November to a dropdown menu on the news page.For example, all archived months stories can be accessed from the dropdown menu and the current month is visible on the page. Hope this makes sense! Can anyone help, or point me in the way of some script I can download?
I put together a simple link for people who want to submit their email address to receive a newsletter. People are directed to the correct page but when they try to submit their address, the following error comes up:
Microsoft OLE DB Provider for ODBC Driverserror '80004005' [Microsoft][ODBC Driver Manager] Data source name too long /emailnewsletter.asp, line 76
Line 76 in /emailnewsletter.asp says: MM_editCmd.ActiveConnection = MM_editConnection;
Here is the whole text for emailnewsletter.asp: Code:
Everyday of my life the last year has started by searching through a lot websites in order to find the latest news, and then making a link to that news from my webpage. What I have always dreamt about is some kind of automation.
Is it possible to make a script in ASP that searches through a website and gathers info on title, URL and such, and then automatically inserting it into my website (via for instance a SQL database)?
I have made an ASP page that dynamically creates an XML page from articles stored in an Access Database. It works great and i was well pleased with myself.I was then sitting back admiring my own work when i suddenly thought.The page ends in .asp and not .xml.So i downloaded some free feed readers and news readers and they all found the feed with no problem and i thought i was going to be alright then it clicked - What if the "person" who wants to add my feed to their own site for example, has their site written in PHP?
I wrote a little PHP script that dynamically inserts feeds and sure enough, it will not accept a feed URL ending in .asp. It's (of course) fine if it ends in .xml So, (sorry for going on) Im wondering on your thoughts about this and what you would do? How LESS efective do you think an XML feed ending in .asp is?
i want to add this portion to my site.i want to display category of news depending on date.i want to display such news one month back from current date.
My site is currently 90% asp, which has created a huge problem when tryign to find a free news/journal script to put on my site. Do you know any good free news scripts that allow you to do the normal stuff: post news, admin login, upload pics, user comments (optional), keep an archive of all the old stuff past X posts, ect?
I could in theory, write my own script but I do not have that kinda time on my hands either.
I'm trying to make an ASP page with VS .NET 03 using VB as the language and I want the page to display an Rss News Feed as page content form another RSS News Feed on a web page served by another one of my IIS srevers, I don't know how to do this it sounds simple enuf but were do I start is it a simple one line of code deal or it it complex to do I havent really played around with Rss news Feeds much give me some feed back .
I would like to add a horizontal news scrollbar added to my page that is fed by an ACCESS db. Does anyone have a link of where I can find a script for something like this?
I have to develop a news bulletin system for my website. Plz can someone help with suitable links or examples to develop this. Im using asp with vbscript and sqlserver backend.
i have a created a CMS in which newstitle, the newsdetails and date(automatically inserted using the date() function) that it is added is inserted into an access db. Now what i want to do is to create a news archive list which groups the news item added by month, so let's for the month of july all news are grouped into a heading call july(2007).
I am using asp to create a form where you can send the news article to a friend, and it actually sends the entire article. The problems the article contains <br>,<b>,<i> tags, and when I send the email it shows up like this Quote:
in the Holy Land: The Ideal and the Real. </b><br> <br><br><br> The lecture is co-sponsored by the Center for Middle Eastern Studies at North Park University,
I discovered the replace function. Replace(body, "<br>", chr(09)). That got rid of all the <br> tags, but there are still <b>, <i> tags in there. Is there a way to do a multiple replace like Replace(body, "<br>",chr(09) & "<b>", Chr(09))? I tried it and it did not work. Is there a way to do that?
I have added a new field in my database for the news items, basically a boolean value (true or false) for the display or hide of a news article. I have simple added to my queries WHERE newsDisplay, and that does the job except now I have one query qhich is actually causing me a small problem, due to the query already having a where clause.
like below:
dbSelectQuery("SELECT * FROM tblNews WHERE newsID ORDER BY newsDate DESC")
So that leaves me a little puzzled as to going about this query which should solve the small issue, I was even thinking is there a way I can use an if operator. Something along the lines of if newsDisplay = true or checked then do something else. Someone must know. I just dont think you can actually use an if statement on a sql query? Any tips would be perfect . PS - The new field I have added is newsDisplay as a yes/no in an access database.
I have a news page on a web site that now needs to be seperated in to a number of 'views' (eg. so that each user sees a different set of articles). I would like to stay away from using 20 include files!
I know how to do this with php but this time I don't have the luxury of being in an environment I'm familiar with. I also need to do this without a database, and in the most economical way possible.
I have set up a page specifically for printing, however, I would like to be able to choose certain items on the page that are to be ignored by the printer. For example, the web version of the page may have instructions on how to print, although the version that is printed off does not.
I have multiple list box added to the asp page using <select> tag I have added items in the list box using recrdset from Education table Education table={educationid, educationname} User can choose more than items from the list box. These items gets added in the user table in field "edu" seprated by commas. When User wants to edit his information ...i want that the items in the list box should be automatically selected which are present in "edu" field.
does anyone knows how i can layout items retrieved from db such as example from this online shop site . most items retrieeved from db such as Accesss are always in vertical layout.
I have this login that i created. On the sign in process i need to make sure that no one has already signed up using that certain email or that unique cnumber.
Ive tried this line: Set objRS = verify.execute("SELECT id FROM logmein WHERE email='" & email & "'") or ("', cnumber= '" & cnumber & "';")
than this: Set objRS = verify.execute("SELECT id FROM logmein WHERE email='" & email & "'", "' & or & '", "' cnumber= '" & cnumber & "';")
I am doing a wed site online shopping system for my school project, which requires some asp coding using vb script. I am new to asp and have no knowledge whatsoever on how to code what i need. Could someone please provide me with help, or coding on how to add item details into a basket record, once the user clicks the add to basket link.
I am doing a wed site online shopping system for my school project, which requires some asp coding using vb script. I am new to asp and have no knowledge whatsoever on how to code what i need.provide me with help, or coding on how to add item details into a basket record, once the user clicks the add to basket link.
currently i have an online shopping website that display 12 categories of different items of up to 12 types. well my boss wants related items to be displayed in each of the different items . i am not sure how to start this. is there any special code for it. please advise.you may visit www.mellon.com.sg/shop to view .
I have a basket which people add stuff to that they want to buy. i want a code that allows them to delete the item too. how the basket works is. thy choose a item from stock page and then it adds to a basket table.
I have a multi-dimensional array that I want to delete items from. To do this I display a form and the user clicks some tick boxes. Then on the delete page I check which tick boxes were ticked, say 2,4,7 and 8 (or whatever) and then rebuild the array minus records 2,4,7 and 8 and so on.
Sounds simple enough, but I'm having a real nightmare getting it to work. So my questions is how are others doing this, as my way is obviously very shoddy! I've been looking for examples on the internet, but I've not managed to find one.
I am doing a wed site online shopping system for my school project, which requires some asp coding using vb script. I am new toasp and have no knowledge whatsoever on how to code what i need.
how to add item details into a basket record, once the user clicks the add to basket link.