?something

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pac604
Forum Newbie
Posts: 5
Joined: Tue Jan 27, 2004 11:18 pm

?something

Post by pac604 »

See... I have index.php, page1.php and page2.php.. How do you make it so it'll always be blah.com/index.php but to show page1.php, it'll be like blah.com/index.php?=page1 or something like that. I forgot. Wasn't into PHP when i read on it, so someone refresh my memory please.
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

Guess you should use something with

Code: Select all

$url = '/bla.com/index.php?' .join('&', $page);
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

For more tips about this, you might want to look at: viewtopic.php?t=16324
Post Reply