By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,601 Members | 1,116 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,601 IT Pros & Developers. It's quick & easy.

navigation system

P: 63
hi,
given a link like this
http://www.site.com/index.php?p=news...34&action=edit

from index.php, as we use switch and get method, it's not a problem to include a news page, but is this feasible to use the only index.php as the root page then include all the other news page, news detail and possible action, edit news in this case, just by get method and switch?

is my question clear enough?

(of course we can create those saparate news.php, news_details.php, news_edit.php... but that's not I want to ask)

thanks,
Jan 2 '08 #1
Share this Question
Share on Google+
3 Replies


Markus
Expert 5K+
P: 6,050
Huuuuuuge sites do it this sort of way; it's called dynamic. And it's perfectly fine to use.

:)
Jan 2 '08 #2

P: 63
I thinks that's fine too.. er, but how :D.. you know it's pretty complicated to a newbie like me

just give me instruction to perform the above exampe.shouldn't it be a problem :D?
Jan 2 '08 #3

Markus
Expert 5K+
P: 6,050
Well you'd just use $_GET and the either extract the results from a database or from a folder..

You're not really giving me much to work with :P
Jan 2 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.