Reply
Need help and something more efficient
Old 07-15-2004, 01:16 PM Need help and something more efficient
Average Talker

Posts: 15
Hey there everyone. I'm working on a new layout for my site and I realized that I didn't want to use my old navigation system because it's so inneficient.

PHP Code:
<?

if($s=="home"){
include (
"news.php");
}
if(
$s=="tutorials"){
include (
"tuts.php");
}
else{
include(
"news.php");
}
?>
Now, that was fine for the old layout because the old layout was very simple and didn't have many pages in it anyway. My new layout is much more complex with a ton more pages to display.
Anyway, my question is:
Is there a more efficient way to make a navigation script?
Any help is very very much appreciated.
Setzer is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-15-2004, 01:18 PM
Republikin's Avatar
Super Moderator

Posts: 3,191
Are you using a db like mysql or something?
Republikin is offline
Reply With Quote
View Public Profile
 
Old 07-15-2004, 01:18 PM
Average Talker

Posts: 15
Yeah. I have mySQL installed on the server.
Setzer is offline
Reply With Quote
View Public Profile
 
Old 07-15-2004, 01:25 PM
Republikin's Avatar
Super Moderator

Posts: 3,191
Ok theres no easy one way does it all way to explain this so I am looking for a project and am willing to help out at no cost. There may be several options for navigation and I don't want to spend three days on the forum trying to figure it out by asking you what each situation is. So if you want you can pm me details about the project and your email address and I will respond later on when I get home from work.
Republikin is offline
Reply With Quote
View Public Profile
 
Old 07-16-2004, 05:46 PM
Neo-Gamer's Avatar
Junior Talker

Posts: 1
Location: Poo
Oh Setzer, why didn't you just ask me, I was right there on Neo-Gaming!

PS: I can now give you a link to the test servers of Neo-Gaming v2.0

but if you like, I can code a complete CMS, since you've been so good to me.

And yeah, I found this kickass site through your news post.

I'll "Drop you a line" with about 50kb of code.

Peace out!
Neo-Gamer is offline
Reply With Quote
View Public Profile Visit Neo-Gamer's homepage!
 
Reply     « Reply to Need help and something more efficient
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13535 seconds with 12 queries