Databases With Webpages
I have a website, of which i have a website of which i update now and again, however, i want to be able to insert data into a database and not the page it self, so when a visitor navigates my site, it will generate the page from the database. And also i want to use an Access Database Is this possible, if so, how.I can use ASP (of course) and Php
however have little knowledge of either, little bit of HTML, and some VB programming.
View Replies
ADVERTISEMENT
I am creating ASP Pages linked to an Access 2003 database and Dreamweaver MX2004 I have several product pages two of which have detail pages when I create the record sets with a filter on the product type and test these they show the correct records from the database.
But when I try to view the webpages through my localhost server by calling the default page this page is ok then I have a dropdown menu to select the product pages I get the following error message This page cannot be displayed error Line 15 of the product page the error is [RSXXX.ActiveConnection = MM_XXXX_STRING] I also get the message that the database is already in use.
Can you link to the same database with several product pages by creating there own recordsets and filtering the records you want to appear on thet particular page and the respective detail page, or will this not work.
View Replies
View Related
I have two webpages main.asp with some codes and text.html I need joint
(insert) text into main.asp.
I forgotten instructions to insert first webpage into second. How I can do
it?
View Replies
View Related
I hv two seperate webpages that need to write to completely unrelated tables that reside in one database. The purpose for this is so that I can re-use old page code AND not have to create a new database to hold information from the second webpage. At the moment, I'm not sure if the error is in my code or in the database setup.
The first table and first webpage interact perfectly. Data can be written and retrieved. A new table was added to that database, then the webpage was copied and the code was changed to point to the new table. This forms the second page and table. Both tables are in the same db. The problem is, no data gets written to the new table nor reflects on the webpage.
View Replies
View Related
The data for our bookings is held in an Access database and I can
manipulate the date format as much as I like in Access but it doesn't make
any difference to what appears in my webpage. Code:
View Replies
View Related
I know VB5/VBA very well but have not used VB to create web pages but need to do so. Can someone explain the purposes and differences between VBScript and VB.NET to create web pages?
Also where do Visual Web Developer Express Edition and Microsoft Frontpage fit into the picture? It seems there are a bewildering array of choices in creating websites
using Microsoft tools.
View Replies
View Related
I am doing a research on a project for my website. there is a web page which runs on a server other then my own server and i want to get some(not all) of the contents of that page and show it on my own page. Is there a way to do it with asp or asp.net?
View Replies
View Related
I am wondering if it's possible to simulate the Multiple Document Interface
in ASP/ASP.NET webpages? Maybe using DIV layers? I am trying to create the
little document windows in an application, but in a webpage. I need
dragging, overlap, focusing, resizing capabilites. Also must be able to
encapsulate another DIV layer within this DIV layer. Is this possible?
Does anyone know a library (already-made) div/layer MDI windows for
webpages?
View Replies
View Related
I'm learning ASP with a database in Access (new to Access also). I have created my tables and all but I'm stuck on how to query the table. I'm familiar with sql statements, so I was wondering if you can access the database the same way as with php and mysql. I.E.
Code:
Select * From Table Where id = 5.
Something like that, or will I need to use
Code:
objRS.Filter "ID = 5"
I guess the main question is does Access accept SQL statements and if so can you give me some examples as to querying the database.
View Replies
View Related
I am working on ASP and SQL Databases. I have written the code . the program is very simple . its just an application form and u will be having upload and submit button . So after the data is being entered , the submit button code should be invoked and the data entered should be stored in the database.
View Replies
View Related
I'm having Difficulty understanding the concept of retreiving information from a database upon user request. E.g i have an ASp page that has a form with 3 drop down boxes and a submit button.
I want the next page to bring results from the database that meet the criteria set upon by the 3 drop down boxes. The DB is Access and its already got the information in it, i just want the correct information to come up in tables once the user has selected the choices in the drop down boxes.
View Replies
View Related
If i upload an ASP page that is connected to an MDB (Access) database to my FTP server, is there any way that I can ensure that no one can download the database and that it remains "untouchable".
View Replies
View Related
The problem I have is that I need to save the content of a form in a database, and I donw know how to save the content of a checkbox, can you give me an example of the code?
View Replies
View Related
I need script or a link to a tutorial that will allow me to do the following.
User enters username and password site checks the username and password against database1
if the user entered the correct username and password the page shows records from database2 if the user enterend incorrect username or password then nothing happens.
I am new to this forum and really looking forward to being involved in the community.
View Replies
View Related
I'm trying to design a simple website with 2 dynamic searching functions. The first is the user enters text into a search box, clicks on the search button and then connects to a sql or access database and brings back those records that are LIKE the search phrase. It's my intention to then have a detailsview link on the searches so the user can drill through.I'm designing an online version of my catalog so that the user can browse by page. I also want the user to enter a page number and then click go and that would then take the user to the corresponding page in the catalog. I'm guessing I'll need to declare If 1 then open page1.html, if 2 then open page2.html.
I know I'm close but not close enough and my knowledge has been well and truly stretched and I must have read and read my Dummies book about 20 times over the last week.
View Replies
View Related
For my ICT (computers) project at college I'm using an Access database, and I now have a problem with that. Basically the way it works is that the user enters their details in a form page (here). This then does the usual thing; runs a script which inputs the data into a database and then displays a thank you message.
the problem I'm having is that whenever I input punctuation into the form, it refuses to work; it comes back with a 500 server error. This is understandably quite irritating, as I'm setting up a mailing list that needs to incorporate a list of email addresses
View Replies
View Related
My hosting account gives me a lot of MySQL databases but I usually just stick with MS SQL Server because it gives me fewer troubles.Now I want to challenge MySQL again. I use connString "DRIVER={MySQL ODBC 3.51 Driver}; SERVER=myserver; DATABASE=mybase; UID=myID;PASSWORD=myPwd; OPTION=3"
And the conn and recordset objects connects smoothly with the database. I can even get the things i want out of it. But every time I try to update the database such as:
rs("Content")="Cool"
rs.update
'or
names=array("Content")
values=("Cool")
rs.update names, values
It just wouldn't work...why? Content field is a text field.
View Replies
View Related
What i need to do is build 2 tables below with the following fields:
tblUsers
id
name
address
postcode
tblShop
id
product
Now i need to build a relation between the two id fields but what i relaly need to know is how to retreve the data in the tblUsers from the id in the tblShop through asp. This is like for a shop
View Replies
View Related
I'm trying to pull information from two different databases, use it, and then put it back into a database. The program I am writing is one which will keep track of exempt employees' absences. At the end of the year, employees get to rollover the sick days that they do not use. Herein lies the problem. The information on how many sick days an employee is in an AD download on one server. The information on how many days that employee has taken this year is on another. I need to take that information do a little math, and then add those days into a different table on the same server that the absences came off of to keep track of their "sick bank".
I would like to just Loop the information, but I cannot put recordsets inside recordsets and I cannot create a view from two separate servers, so I am at a stop sign. Can I just take all of the users and the amout of sick days they have and put them in a text file and then pull off of the text file? I'm not quit sure how to do this.
View Replies
View Related
How do you go about searching three tables at the same time? I'm using Dreamweaver MX, but I can also hand code it in if know one knows the dreamweaver method
View Replies
View Related
Given if tables A and B are in the same database, writing a query for them is relatively easy. But what if tables A and B are in different databases? Is it possible to query them together? If so, can anyone provide a generic example?
View Replies
View Related
I have a search page with an access database in the background.
When you type in a keyword, it brings the related article up.
Is it possible for this to display a hyperlink??? When i choose hyperlink in the access field it displays thefollowing on the screen: Code:
View Replies
View Related
Inserting into an Access database using the above script generates this
error :
Microsoft JET Database Engine error '80040e07'
Syntax error in date in query expression '#20031021 20:36#'.
Using SQL : UsersTable SET UpdateTime=#"& dbDate(Now())&"# .....
If YYYYMMDD hh:mm:ss is a universal date, why is it rejecting it?
If I change it to YYYY/MM/DD hh:mm:ss it then becomes valid. Is this valid
in all situations, or am I doing something wrong in the first step?
View Replies
View Related
I need script or a link to a tutorial that will allow me to do the following.
User enters username and password
site checks the username and password against database1
if the user entered the correct username and password the page shows records from database2 if the user enterend incorrect username or password then nothing happens.
I am new to this forum and really looking forward to being involved in the community.
View Replies
View Related
I'd like to create a class file for a shopping cart that I'm working on but I'm not sure about how to use the database with it.
Do I connect and open to the database inside the class or outside of the class and set the properties?
I'm thinking that if I open and close the database with say a getItem() method and I have 15 items to get, I'll be opening and closing a connection 15 times. Isn't that bad?
View Replies
View Related
Can ASP Apps read from a mySQL database?
View Replies
View Related
I have an apostrophe in an access database in a name. e.g. O'Brien. When I read this value back into some script the apostrophe seems to be terminating my script.Unless of course I have mis-understood what's going on
Are there any rulesguidelines for this sort of data handling
View Replies
View Related
Can I made more than one connection to SQL databases in a single ASP page or it may create problems or what are the drawbacks?
Code:.....
View Replies
View Related
I want to collect user input. I have a collection of 30 checkboxes that I would like the user to pickout from. The information then will be recorded to a database somehow. Finally the user will be allowed to change the selection if required.Which is the best way to do this. Do I need to create 30 different fields in the database ?
View Replies
View Related
i have started a project. It is a multiplayer text based online game. so far what i have got is a log in page that fully works and a logout page that fully works.
what i am stuck on is once you have logged in i want the user to see their own individual stats. but no matter how i try i have only been able to show the entire tabel's data not just certain fields out of that 1 record.
View Replies
View Related
Can Chili handle Microsoft databases? I inherited a site with ASP, but my host uses Chili and the site is generating errors.
View Replies
View Related
I don't know anything about the ASP language. One of my client's would like me to host their website, already created with ASP. Down the road, I need to re-design the site and convert the back-end to PHP. However, suggest the best method of moving the entire site to my Windows 2000 server?
View Replies
View Related
i get this error when posting info in a form
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/register.asp, line 141
Browser Type:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Page:
POST 295 bytes to /register.asp
View Replies
View Related