Starting on database-driven Web site

They have: 5,633 posts

Joined: Jan 1970

I'm developing a database-driven Web site just for fun. I've never written a Web page before but know my way around HTML tags. My question is, how do I use my database in my Web page? I'm not sure how to connect the two together.

Peter J. Boettcher's picture

They have: 812 posts

Joined: Feb 2000

jhowse,

You'll want to use some form of server-side language (ASP, PHP, CGI, CF, etc) so you can connect to your database and display the results of your query inside the page. The first step for you should be deciding what language to use. If you're using NT server then I highly recommend using ASP, if you're using UNIX or Linux then maybe try PHP. Cold Fusion is always an option as well.

Regards,
Peter J. Boettcher

PJ | Are we there yet?
pjboettcher.com

They have: 122 posts

Joined: Jun 2000

Just to clarify: CGI is not a programming language. Perl is. PHP is. CGI is not.

Peter J. Boettcher's picture

They have: 812 posts

Joined: Feb 2000

roBofh,

Sorry for not being more precise, I guess ASP isn't either since it can be written in VBScript, JavaScript, PerlScript, etc...

I don't like just saying Perl because you can use Perl in different platforms, that's why I said CGI.

Dang ye nitpickers! (Sorry, just got off the phone with someone from South Carolina )

Regards,
Peter J. Boettcher

PJ | Are we there yet?
pjboettcher.com

They have: 123 posts

Joined: Dec 1999

I am doing the same thing. Trying to make a website that is 90 percent databases/scripts driven. The main problem I have is finding a good host that allows multi database in use.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.