Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
|
|
Php |
Page: 1 | Reply |
Jul 23rd 2002 | #60412 Report |
Member since: May 6th 2002 Posts: 46 |
Okay, I've been wanting to know this, not that I need to right now...but it'll be handy in the future =): someone is at main.php and click a link going to main.php?Legos , how can you make the php page the same file as the new one? |
Reply with Quote Reply |
Jul 23rd 2002 | #60428 Report |
Member since: Jun 30th 2001 Posts: 447 |
I'm lost... can you rephrase your question?
|
Reply with Quote Reply |
Jul 23rd 2002 | #60438 Report |
Member since: Apr 29th 2002 Posts: 425 |
thankfully i was in a place similar to where justin once was... sooo justin... it's something like this... **main.php Legos Blocks if ($page=="legos"){ /* This is a place where you can do many things, I like to include a text file so if I want to edit something in a certian section all I have to edit is the text from that file. */ include ("legos.txt"); } elseif ($page=="blocks"){ //Same story here include ("blocks.txt"); } else { Print "MERRRRPPPP"; } ?> There's just a very quick example of what you're looking for looks like. |
Reply with Quote Reply |
Jul 24th 2002 | #60460 Report |
Member since: May 6th 2002 Posts: 46 |
oh!Thank you so much! ^_^..I know the question was very confusing, I couldn't really think on how to phrase it o_o..thanks, again..I knew it couldn't be TOO complicated! =D -Justin |
Reply with Quote Reply |
Page: 1 | Back to top |
Please login or register above to post in this forum |
© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website. |