Article Database - How?

Say I have a 3000 word article in a database field and I want to break it up into a number of pages.

The page break point will be at the end of an paragraph.

View Replies


ADVERTISEMENT

How To Get Only An Article

I want to put an article from a newspaper web site into my web site. My aim is to pull only the necessary information which is related to author. Many of the newspapers have daily article from author.

Within author daily article, my only interest to get the article. I do not need any other section from web site.

View Replies View Related

Dividing Article

I am trying to figure out how to divide longer articles in to separate pages with a "next page" function at the bottom of each page.
Thus far, for my information based website, I have created my database, my Articles.asp page, my Catagory.asp page, and my default.asp and I have built a content editor to enter my articles. And all are working great.
My problem is, I would like to divide my longer articles into smaller pages. I see it all the time on sites...so I can't believe it is that hard. Do I need to divide the articles into "fields" in my database? or is there a way to do it without altering my database?

View Replies View Related

MSKB Article

An MSKB article on the scalability of ADO/ASP
(http://support.microsoft.com/kb/176056/EN-US/) says in a discussion of
why connection objects shouldn't be stored in session variables, "If
you do not pool there will be idle connections wasting server and
network resources. You also have some threading issues that can occur
if multiple concurrent threads end up hitting on the same connection
(though the session ID might save you here, but it is conceivable that
a browser could submit two concurrent requests using the same session
ID and you could get into situation with transactions or with SQL
Server's inability to process more than one command at a time on a
given connection)."
What are the potential threading issues here? (Are there threading
issues even when connection objects are created on each page?) I
thought that even with connection pooling, each connection is only
being used by one user at a time. (And what does this have to do with
Session ID?)

View Replies View Related

MSKB Article 299692

I followed the instructions in this article, building the COM+ component and registering it, and creating the two asp files - Upload.asp and Postfile.asp. The problem is that as soon as I submit the Upload form on the Postfile.asp page, I immediately get an "Out of Memory" error from the server. Amazingly though, the file gets uploaded intact.Does anyone have experience using this method or have any ideas as to why I get this error?

View Replies View Related

Sending A News Article

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?

View Replies View Related

Storing An 'article' With Text And Images

I need some advice/ideas on how I could do the following:

I want to store articles which contain both images and text - like a writeup of an event - kind of an image and text blog.

I want to store articles in a database probably - at the moment I use access databases.

Clearly I could have the text of my article in one field and store images (or links to them) in other fields and then display all the images at the end of the article but what I want is..

to be able to make it to have text then a few paragraphs down have a nice right aligned image with text to the left of it and then some more text etc etc so it looks like a static, layout planned article.

What would be the best way to go about this? Can this be done by storing in a database?

View Replies View Related

Microsoft Knowledge Base Article

i wanted to get the 411 on this article. I want to create a small utility web site with a logon page and a form connected to an Access database. The article below explains exactly how but when I try this I can only see the code no actual logon page - nothing but code.

My system is asp allowed and asp.net extensions allowed. FP 2002 extensions allowed. All other extensions are prohibited. I am using w2k3 IIS 6.0 and running 3 html sites succesfully all with working forms. Is there something on the server/website itself I need to enable?Why do I only see code and not a logon page as described in the article?

View Replies View Related

Asafaq Article Id=2120 - Paging

I am trying to use GetRowsMove method since we are not using stored
procedures, I got until 77 rows found. Showing page 1 of 2. - nothing shows
up in the list box and GetRowsMove.asp I couldn't get that up and running
instead of your recordset I am pulling from my own database that is the only
difference...

View Replies View Related

Paging Concept Question/pointing The Right Article

So I have that huge database, with a lot of article from different poeple on the same subject. Listing all the articles is too big so I decided to add paging to my pages. So far so good, its working real fine exept for one thing and its here I need help as to how I could configure my things.

For each people with an article a user page is create and in that page are listed their article with the link to them. So how can I specify the link so it knows that the article of that person is at the page=2 or 3 or 4 ... of the paging?

Before paging it was quite simple I was just using an HTML anchor with the reference numberID of the record like this : <a name="<%=RsCritique("refID")%>"></a>

Any idea?

View Replies View Related

Database Limit - Microsoft JET Database Engine Error '80040e14'

I have just started using ASP, I am normaly using PHP but I thought ASP might be a good road to go down. I am having a few problems, I am trying to limit the number of records I take out the database but I keep getting errors.

<%
'connection string
datapath=Server.Mappath("guest.mdb")
strconn="PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" & datapath & ";"
Set CONN = Server.CreateObject("ADODB.Connection")
CONN.Open strconn

'select all records row by row
DBquery="SELECT * FROM Guests LIMIT 10"
set query=Conn.execute(DBquery)
do while not query.eof

'get a variable from the table
guest_id = query("ID")
guest_name = query("Name")
guest_msg = query("Mesg")
guest_date = query("DateTime")

'print the variable to the screen
response.write guest_id & "<br />"
response.write guest_name & "<br />"
response.write guest_msg & "<br />"
response.write guest_date & "<br />"
response.write "<br />"
'move to the next record
set conn = nothing
query.movenext
loop
%>

I am getting this error;

Microsoft JET Database Engine error '80040e14'

Syntax error in FROM clause.

/guestbook/guest.asp, line 11

can anyone help me?

View Replies View Related

Microsoft JET Database Engine :: Cannot Update. Database Or Object Is Read-only

I had made a form name 'dform.html' which asks idno, name and phone from the user and after the user clicks on button "save data" sdata.asp is executed. sdata.asp is written to save the values entered for idno,name and phone in dform.html into table "myfriends" in the mydata.mdb (access database). but when i am clicking on save data button i am getting error saying

"Error Type:

Microsoft JET Database Engine (0x80040E09)
Cannot update. Database or object is read-only.
/SDATA.ASP, line 9"

can please anyone tell me why i am getting this error.

View Replies View Related

Database Connection String To MySQL-database On A Different Server

I work with ASP for several weeks now and i really like it! But until now i have just used it in connection with my localhost. I made connections to a SQL Database and to an ACESS Database with using the ODBC Tool from WIndows!!


Now i want to publish my website but i don't know how to handle the connection string kind of thing. My MySQL-Database is on a different server than the website and i need a connection string where i can type in the server, a password and a username and it should then connect.

View Replies View Related

How Do I Export Data Fom Local Database To Server Database?

I'm current working on a project which need to upload local data to
live server database.

Meanings that, i'm current having a server in my local mechine. I need
upload data from local database to live database which host at oversea
company. But i really have no idea how to do this in asp.

View Replies View Related

Microsoft JET Database Engine , Database Or Object Is Read-only

Error Type:

Microsoft JET Database Engine (0x80040E21)
Cannot update. Database or object is read-only.
/q_maker/aero_admin/delete.asp, line 12

what is wrong! i checked the db and its not readonly.

View Replies View Related

Using Value From Database Updating The Database And Resuing The Value

i wrote a shopping cart using cookies found out thatIE 7 won't let me add more cookies after a certian number. decided to use DB along with cookies and now i have very weired problem never encountered before Code:

View Replies View Related

Many-to-Many :: Seperate Database Or One Database?

Products ---> Products|Customer <--Customer

With regardst the above many-to-many relationship:

Is there any advantage in creating seperate access databases for:

- Customer
- Products

....Rather than keeping them as three tables in one database.

The reason I ask is that I have found that if I am using a ftp approach to
overwriting or updating the remote database there are sometimes problems
with synchronizing data .....This seems to be a better solution?

Am I off base?

View Replies View Related

Web Database

does any one know a simple free database driven website tutorial that i could learn? i need it for when someone searches a name ionformation on that name comes up along with photographs realating to them.

I have built several websites before but none are database driven so is there any dummy proof versions?

View Replies View Related

Do While Out Of A Database

How do I do a Do While loop to display rows of information out of a database. Here's my code, and it seems like its in an infinite loop. Code:

View Replies View Related

ASP With Database

I have a Access DB with two tables (Users and tblpersons). Users are stored in table Users and their records in tblpersons. They are able to login, Enter, Search, Update their data.

I want users to be able to Enter and update only their data not other users data.

Example:User_Id 1 when logged in, is able to enter data for any user(1,2,3......) and able to modify their data.

View Replies View Related

Database.mdb

I can make a simple database file and name it database.mdb, all I need to do is name a single field email and save it. But I dont know how to make it so that my page will become active and the emails submitted will be saved either to the mdb file or a text file, im not sure what goes on there.

View Replies View Related

Database Not

i have 2 tables and i only want the records where which arent in the one database eg.
table 1

idnum
1
2
3
4
table two
idnum
1
2
3
4
5
6

out of these two tables i only want from table two idnum 5 and 6 cause they arnt in the 1st table.

View Replies View Related

Job Database

They are on Windows 2000 IIS 5.0 and currently have an older version
of their job database using Access hosted on a Brinkster server.
The new server that they are on, when I contacted the host, they advised me
against creating any new applications using Access, as the server is not meant
for multi-users.
So, I am thinking that they need to get their host to upgrade to a SQL database
and have the job database developed using that.
My question to this forum is: What do you think is the best combination for
improvement here, SQL or MySQL or what, considering that their site is using asp
and hosted on Win2000 IIS 5.0?
Also, any recommendations on scripts that might be already available that could
be customised to their site?

View Replies View Related

Same Database

What we have is our own (in house) Windows 2000 Server which runs MS SQL for our data storage and we have writen our own VB6.0 Application which runs of the SQL DB to manange our stock, ordering, price's etc etc. Also we have our own Website with a Web Hosting Company which is also a Windows 2000 Server but can only Run access databases.
What we what to do is somehow have the Access database and the SQL database sync together to have some of the same data in both database's. But I don't know where to start.

View Replies View Related

Database

I have the following code to execute a SQL query.Code:

SQL = "INSERT INTO teams (`teama`, `teamb`, `pot`, `winner`, `finished`, `start`) VALUES ('" & teama & "', '" & teamb & "', 0, '', False, '" & gdate & "')"
teamrs.Open SQL, conn
all works fine.
I just want to know what result it gives.because once i add it, the form submits, and its a blank page. I want it so it does this Code:

if sql = worked
redirect
else
error
end if
so how can i make sure the query was executed successfully.

View Replies View Related

SQL Database

This is probably a stupid question (I'm good at those)...
I would like to enable a user to be able to browse to a picture on their local machine and upload that picture to a remote directory where it can then be displayed along with it's other pertinent data.
I thought it might be a good idea to use Front Page's "file upload" feature which includes a "browse" button and prompts me for a storing location - but I can't get it to work and am not even sure if that's its intended purpose.
So my question is two-part, what should my insert or update page look like regarding an upload process, and then how would I link to or display that picture?

View Replies View Related

ASP - Database

I have some questions in a database, i showed in the web page, for each questions i gave 3 (Yes, No, Not Applicable) options via select - option. when i get the variable with select name, it is showing with comma.

Example :
If they select for like that

Ist question - Yes

IInd question - No

IIIrd question - Yes

IVth question - Not applicable

The variable is coming like (Yes, No, Yes, Not applicable)

but i want to get with separate variables.

View Replies View Related

Best Database

What is the best database to connect to, and why?

View Replies View Related

Asp To Database

I have a form that is inserting data to an access database i have it working, but when ever a user enters a name with a special character eg Tom O'Conor i get an error due to the ' character, is there anyway of over coming this problem.

View Replies View Related

Database Dsn-less

i have this code that is supposed to help me out in some databse retrieval issue. however i am not aware of the dsn-less code and stuff:
<%
var rs = Server.CreateObject("ADODB.Recordset");
rs.Open("select * from states","DSN=IST_SQL;UID=....;pwd=....");

var n=0;
while (!rs.EOF)
{
...
}
rs.Close();
%>

i think the following is also to be included in the above code, but i am not sure of the whole connection thing.

View Replies View Related

Database

Well Im finally getting how to do asp but I cannot seem to find where I import ms sql .sql files? I know in phpmyadmin there is a place to upload them but not anywhere in ms sql admin. Anyone know how to do this?

View Replies View Related

SQL Database

I just wanna know if I got a asp page in a location A and wanna connect to the SQL database in a server with IP address 144.214.87.11 through the Internet,then how can I configure in the SQL Server 2000?

View Replies View Related

Database Won't Go

I made a script that'll add a lot of data to an access database. Something went wrong during the execution of it, and i was stuck with the mdb file and the idb file. I've tried deleting both, or either, but neither will delete. I've also tried using sql DELETE and DROP, but neither will do anythying. Any way i can delete these files?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved