Welcome Guest Search | Active Topics | Members

Database Tutorial request Options
degeneration
Posted: Thursday, February 26, 2004 3:07:34 PM

Rank: Admin

Joined: 7/8/2003
Posts: 791
Location: United Kingdom
This is probably more geared towards BigB...

With the new tutorials section, would someone be able to give a database tutorial on:

- how you impliment database entries on webpages.
- how you make links between enteries in different tables in the database.
- how you make a table entry a html hyper-link.

If anyone can do this, it would be much appreciated, as I am wanting to make a lot of the info on my website into a database so that it is easier for me to add to, edit and maintain.

Thanks.
bigbrennan
Posted: Thursday, February 26, 2004 4:31:25 PM
Rank: Larger than Life

Joined: 11/15/2003
Posts: 1,649
Location: United Kingdom
All I can tell you, is:

You need dynamic pages (php or asp). I do not (yet) know how to program in these but I know for sure that swoj does! As most of this site is now linked to a database. Maybe he can help you?
degeneration
Posted: Thursday, February 26, 2004 5:26:57 PM

Rank: Admin

Joined: 7/8/2003
Posts: 791
Location: United Kingdom
He said he would at some point, but I realise he is very busy quite a lot, so doesn't have that much time! That's why I put this request up, just incase anyone else knows how to use databases in webpages.

I've been reading up on ASP, and I think I can get what I want my website to do just using that, but it won't be as tidy compared to using a database.
bigbrennan
Posted: Thursday, February 26, 2004 6:21:59 PM
Rank: Larger than Life

Joined: 11/15/2003
Posts: 1,649
Location: United Kingdom
use the asp to get info from the database. Try downloading snitz forum, and have a look through their coding. It might give you some ideas on how to do it! I am currently learning how too, but have got 5 websites to make by Easter so I am busy! plus I have my final year of college to do!

Steviepunk
Posted: Friday, February 27, 2004 12:19:57 AM

Rank: Admin

Joined: 8/26/2002
Posts: 3,467
Location: United Kingdom
yeah, until I have time to put together tutorial, having a look through Snitx is probably the best idea just now.

try the basic snitz forum, otherwise there is too much extra to get in the way.

Start with index.asp (or default.asp) and track the page, I gather you are familiar with functions, so you should be able to get a rough idea of what the page is doing. somethings are obvious, such as the INCLUDE command, which just includes another file, so go look at that file and see why it is being included

Also, try these linkes
http://www.asp101.com/
http://www.asp101.com/samples/
http://www.aspfree.com/
http://www.programmersresource.com/

specifically: http://www.asp101.com/samples/database.asp
Steviepunk
Posted: Friday, February 27, 2004 12:23:09 AM

Rank: Admin

Joined: 8/26/2002
Posts: 3,467
Location: United Kingdom
and while I remember

page1.asp -> lists all entries in a database table, each entry links to page2.asp?id=xxxx, where xxxx is the items database id

page2.asp -> takes the ID number and does a database query to pull out the table entry with that ID

hope that is clear
bigbrennan
Posted: Friday, February 27, 2004 9:00:37 AM
Rank: Larger than Life

Joined: 11/15/2003
Posts: 1,649
Location: United Kingdom
Quick question swoj! Swhy have you chosen to use asp not php? I haven't touched asp yet and find that php is good enough. I also know that most decent webhosts support php as standard but you would have to pay extra for asp.
Steviepunk
Posted: Friday, February 27, 2004 1:14:25 PM

Rank: Admin

Joined: 8/26/2002
Posts: 3,467
Location: United Kingdom
That would be because Degeneration hosts his site on my server! This server currently has Coldfusion and ASP, but not PHP.

Also, I've not used PHP either, I want to try it out, however I haven't had time but I do have some experience of ASP
bigbrennan
Posted: Friday, February 27, 2004 4:02:59 PM
Rank: Larger than Life

Joined: 11/15/2003
Posts: 1,649
Location: United Kingdom
AH so your using microsoft too host? or do you have some 3rd party software???
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.