Page 1 of 1

New Pages

Posted: Thu Jun 30, 2005 1:47 pm
by Parody
on forums and stuff it creates a new page for each topic right?

How do you do that?

Thanks

Posted: Thu Jun 30, 2005 1:57 pm
by djot
Why people ask non understandable questions and expect an answer for that?

Posted: Thu Jun 30, 2005 1:57 pm
by Burrito
it doesn't create a new page rather it fills the same page with different information from the database.

it selects the appropriate information from the database based on the parameters in the url:
ie viewforum or viewtopic etc.

Posted: Thu Jun 30, 2005 2:08 pm
by Parody
I see...... So if I want to pass a value through a link, what should the link look like?

Posted: Thu Jun 30, 2005 2:26 pm
by AngusL
Generally for forums etc, HTTP GET is used to pass data (as well as cookies for storing login info etc).

So you'd have something rather like what you can see in your address bar right now...

http://server.domain.tld/directory/file ... iablevalue

You then get that at the other end doing something like this in file.php...

Code: Select all

$foo = $_GET['variablename']

Posted: Thu Jun 30, 2005 2:27 pm
by Parody
Thanks :)