Hai
I am facing a problem.I have a PHP page and I am calling menu , header and body into that.
in the body section I want the following links and when we click on that we can get the corresponding page.
the body section will look something like this
world | windows | linux | DOS|
when i click on the world i should get the corresponding information below it and when i click on linux i shuld get the corresponding info.
any kind of suggestion will be really helpful.
Thanks
urs
sai
displaying pages
Moderator: General Moderators
- no_memories
- Forum Contributor
- Posts: 145
- Joined: Sun Feb 01, 2004 7:12 pm
- Location: New York City
- no_memories
- Forum Contributor
- Posts: 145
- Joined: Sun Feb 01, 2004 7:12 pm
- Location: New York City
Sai,
I was tired for two reasons:
1. I'm almost 40 years old.. lol
2. I looked at the message at around 12:30a.m.
In the rough css layout I did for you last week, everything is modulated.
But to answer your question the following example is how to do what you're speaking of. /* <-- It's bad to end a sentence with a preposition! */
Remember, I'm new to PhP myself. I've just started to work with it a few weeks ago.
I'm beginning to think this is some kind of school class project you are working on and want other people to do it for you Sai?
If that is the case, let me explain something to you. I do help people out, but I will not do a class related project so someone can pass a course.
I never graduated high school; in fact, I didn't finish the 10th grade, and worked like a dog most my life in construction, tree service, basically a grunt.
If a person like myself can learn how to do this stuff, with no prior education; surely, a graduate student such as yourself can pull it together and find a solution to your problem without having someone like me do all the work for you right?
Just a reminder, help is help, but asking, if not demanding, to someone who has graciously offered to help you out is rude. And you being a "Computer Science" major graduate student should surely know this.
I was tired for two reasons:
1. I'm almost 40 years old.. lol
2. I looked at the message at around 12:30a.m.
In the rough css layout I did for you last week, everything is modulated.
But to answer your question the following example is how to do what you're speaking of. /* <-- It's bad to end a sentence with a preposition! */
Code: Select all
<p>
This would be example markup of the called page from your index.php script.
</p>
<p>
Remember to cross browser this layout, you should validate all markup and CSS.
It's good practice.
</p>
<!-- example called menu -->
<?php require("menus/rightm.php"); ?>
<p>
This would call yet another external menu into this page.
</p>I'm beginning to think this is some kind of school class project you are working on and want other people to do it for you Sai?
If that is the case, let me explain something to you. I do help people out, but I will not do a class related project so someone can pass a course.
I never graduated high school; in fact, I didn't finish the 10th grade, and worked like a dog most my life in construction, tree service, basically a grunt.
If a person like myself can learn how to do this stuff, with no prior education; surely, a graduate student such as yourself can pull it together and find a solution to your problem without having someone like me do all the work for you right?
Just a reminder, help is help, but asking, if not demanding, to someone who has graciously offered to help you out is rude. And you being a "Computer Science" major graduate student should surely know this.
Hai Rob
Hai Rob
I am really grateful to u for the layout u did for me first time and will never forget that.
I can figure it out Rob don't worry !!!!!!!
This is not a school project I am working on.
My school is not that good they just teach theoritical part and nothing like core programming.
It is out of my interest that I want to design a good web page and u have set the base to make a goood page.
Atleast some work I shuld do myself.........
don't worry i will figure that out very sooon......
Thanks Rob.
and please don't get fed up with this dumb friend...........
take care ..........
urs
sai
I am really grateful to u for the layout u did for me first time and will never forget that.
I can figure it out Rob don't worry !!!!!!!
This is not a school project I am working on.
My school is not that good they just teach theoritical part and nothing like core programming.
It is out of my interest that I want to design a good web page and u have set the base to make a goood page.
Atleast some work I shuld do myself.........
don't worry i will figure that out very sooon......
Thanks Rob.
and please don't get fed up with this dumb friend...........
take care ..........
urs
sai