PDA

View Full Version : How Does....


Coolprogram
02-04-2006, 06:50 PM
How does www.w3schools.com do it??? They can select and take stuff from thier database and that...How would i do that?? Thanks,
-CP

MetalStorm
02-04-2006, 07:12 PM
Can you be more specific?

How do you connect to a database from a web page?

A server side language - PHP, ASP, etc

vinyl-junkie
02-05-2006, 06:01 PM
Not working for them, I can't of course say for sure how they've put their site together, but you'll notice they seem to have it all written in ASP, which is a server side scripting language. I would bet that they're using include files for their navigation menus, and that the include files most likely have some scripting involved. You'll notice that they don't present the exact same navigation menu to you, depending on what part of the website you're in. That involves some sort of decision logic for which menu to present.

As MetalStorm said, there are many scripting languages to choose from to build a site similar to this. The best thing you can do before deciding which one you want to use is to develop some plans for how you want your site to function, then choose the best tools that will accomplish that for you.