is that what you call that? a [B]dynamic pages[/B]?, how does it works? any samples? how can i make a link without posting the link page to the ADDRESS BOX.
@ne3ro0authorApr 22.2005 — #hmm. me too, i dont really understand what i mean.. just want to know how php scripts do something like this in the URL page when i click the home link:
then so on, how can i do something like this without viewing the name of the page in the URL box. it only views the INDEX.PHP then some variables and numbers on it.?
is a PHP script do this one? do this called a dynamic pages?
@ne3ro0authorApr 25.2005 — #im kinda confused.. im new upon coding something like this. yeah that really help, i understand the flow, can u attach sample files, a simple 3 pages. if you dont mind. for my own purpose, so i can learn much of it. cause the problem of mine i just link the pages directly, which im viewing the name of the link in the URL box.
example:
index:
mydomain.com/index.php
when i click the 2nd link:
mydomain.com/link2.php
then i click the 3rd link:
mydomain.com/link3.php
etc.
did u get what i mean? i just want to hide the name of the page using variables as what u have said. like the samples you posted.
i know how to create a page alright? what i mean is that creating a link without putting the name of the page in the URL box. just as variables and symbols.
@SheldonApr 25.2005 — #I have a small idea of what you want,
instead of index:
mydomain.com/index.php
when i click the 2nd link:
mydomain.com/link2.php
then i click the 3rd link:
mydomain.com/link3.php[/QUOTE]
You want:
mydomain.com/index.php
mydomain.com/index.php?page=1
mydomain.com/?page=2
mydomain.com/?page=3 and so on
Ok, try duplicate your index.php
rename the second to home.php or something.
in index.php
have
[code=php] <?
switch($HTTP_GET_VARS['page']){ case 'home': include 'home.php'; break; case '1': include 'page1.php'; break; case '2': include 'page2.php'; break; case '3': include 'page3.php'; break; default: echo 'home.php'; break; }
@ne3ro0authorApr 26.2005 — # I hope this helps else sorry, read my caption below. [/QUOTE]
it really helps a lot, nothing to bother in you caption, Warcraft was a very nice game, so dont blame Blizzard Ent...
thanks that you get what i meant in my confusing question.. ?,
[B]Scragar[/B]
thanks for the help also, it gives me some of ideas in the code you've shared. but id rather used switch case cause it is much easier to use. but i appreciate the help.
[B]webgovernor[/B]
thanks also for the help... i scan the post you've shared.. i understand it now tru the help of the warcraft boy.. ?
THANKS TO ALL...
[B]thread is closed[/B] but any more postings will gladly appreciated..