Search found 4 matches

by Scoopex
Wed Feb 27, 2008 12:22 pm
Forum: PHP - Code
Topic: Linke sider: ="?p...
Replies: 7
Views: 312

Re: Linke sider: ="?p...

Another thing is that your could have a div on index.php and you want to load external data into that div when clicking on the link. Is this what you want???

This is what i ment.. i use a div and want external data into that.. someone?
by Scoopex
Tue Feb 26, 2008 3:31 pm
Forum: PHP - Code
Topic: Linke sider: ="?p...
Replies: 7
Views: 312

Re: Linke sider: ="?p...

Yes, but i want the text in ex. index.inc to get shown in the index.php.

With this i just have to have one page (index.php). and a lot of *.inc dokuments with text.
This texts will be shown in index.php when pressing the link to the *.inc file.

U see what i mean?
by Scoopex
Tue Feb 26, 2008 2:35 pm
Forum: PHP - Code
Topic: Linke sider: ="?p...
Replies: 7
Views: 312

Re: Linke sider: ="?p...

Ok..

I got this menu.inc file. It sayes:
<a href="?p=index.inc">Home</a><br>
<a href="?p=info.php">Info</a><br>
++

But how do i get mye index.php to show this "index.inc" and "info.inc" when click the link?
by Scoopex
Tue Feb 26, 2008 1:03 pm
Forum: PHP - Code
Topic: Linke sider: ="?p...
Replies: 7
Views: 312

Linke sider: ="?p...

Hello. I try to get my simplet PHP page function. I use PHP for a navigation menu. In menu.inc it looks like this: <a href="?p=replayes.inc">Replayes</a> <a href="?p=index.inc">Home</a> etc. But what do i write where the text is about to get shown? In index.php.