changing data on page without loading new page??

changing data on page without loading new page??

Post by furnap » Sat, 19 Apr 2008 09:05:12


Im trying to make a List From A to Z that people can choose a letter from to
display Video games corresponding to each letter but I dont want to have to
make a page for each letter of the alphabet.
Is there a way to do this???

Thanks

Using Dreamweaver8
 
 
 

changing data on page without loading new page??

Post by TC211 » Sat, 19 Apr 2008 09:58:51

Hello,

You can do that using a Server-side language (SSL) such as PHP or ASP and a
database, such as MySQL.
In an extremely basic description:
You would have one page with your list in it.
Elsewhere in the page would be a Server-side include (SSI).
When you select a specific letter and click a submit button, this
information is transmitted to the server and the corresponding Video Games
are selected from the database, then displayed where the SSI is located when
the page reloads.

You can get some information here to start:
http://www.yqcomputer.com/

Judging by many, many posts here recommending a certain book as well as
having read the author's solutions in many threads here, I don't think you
can go wrong picking up David Power's "The Essential Guide to Dreamweaver
CS3 with CSS, Ajax and PHP"
It's worth checking out at:
http://www.yqcomputer.com/

Take care,
Tim

 
 
 

changing data on page without loading new page??

Post by Michael Fe » Sat, 19 Apr 2008 10:50:29

.oO(furnaps)


You should do it with a server-side script, which takes a URL parameter
to determine the letter or range of letters for the output. Do you have
any scripting languages available, PHP for example?

The URLs could then look like these:

http://www.yqcomputer.com/
http://www.yqcomputer.com/
http://www.yqcomputer.com/
http://www.yqcomputer.com/
...

Whatever. The script just has to take the 'list' parameter, check its
value and return the corresponding values. Not that difficult, but
dependent on your server's capabilities and a bit on your own.

Micha
 
 
 

changing data on page without loading new page??

Post by jsteinman » Sat, 19 Apr 2008 16:16:13

use a form with get method
recordset should be built to look for the querystring for results
links should have query string variables in them
 
 
 

changing data on page without loading new page??

Post by Mangle » Sat, 19 Apr 2008 21:38:48


AJAX