Page 1 of 1

displaying pages

Posted: Tue Feb 24, 2004 6:51 pm
by sayee3k1
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

Posted: Tue Feb 24, 2004 11:31 pm
by no_memories
hehe,

This is a modulation issue.

Modules of markup (little php pages) and small snippets of php requiring other small bits of markup into the called page.

I'm too tired to explain it right now.

Hai Rob

Posted: Wed Feb 25, 2004 9:36 am
by sayee3k1
Hai Rob

Why is that every time u have to help me out.

hmmmmmmmmmm'

urs
sai

Posted: Wed Feb 25, 2004 11:15 am
by no_memories
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! */

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>
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.

Hai Rob

Posted: Thu Feb 26, 2004 1:18 pm
by sayee3k1
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