Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 2
Joined: Fri Oct 25, 2002 4:45 pm


Postby forcer » Sat Oct 26, 2002 1:15 pm

i am fairly new to PHP and without looking into it i took the hard route when building my site.
for example:
when creating a page, with lists of real audio A-to-Z
i had to make 26 different pages, for each letter.

but i go onto another site with something similar. and instead of them having 26 different pages, there have 1. and its like this


and if i click B, it goes to realaudio.php?=B

i would really like to know how to do this but cant find anything online, can any1 assist me thanx


Postby DoppyNL » Sun Oct 27, 2002 12:11 am

if you make a link like:


then the variable $_GET['parameter'] wil have the value "value" in the script called.
With that information you can adjust the contents of your page.
multiple values is also possible:


If $_GET['parameter'] is empty when trying it out, see this post where is explained what to do in that situation.

Greetz Daan

Return to “PHP coding => General”

Who is online

Users browsing this forum: Bing [Bot] and 10 guests