Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #16  
Old February 27th, 2004, 04:02 AM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 7 m 51 sec
Reputation Power: 4
RE: displaying pages in php

this is what you can do....

Write your page in html, like you normally would, and then just include it inside of the main.pp page you have already with the include() function.

For instance, if my html page I just wrote was named

navbar.php, I would include it where I wanted in the other page with include('navbar.php');

Reply With Quote
  #17  
Old February 27th, 2004, 04:02 AM
Nicky's Avatar
Nicky Nicky is offline
Contributing User
Codewalkers Novice (500 - 999 posts)
 
Join Date: Apr 2007
Location: Neverland
Posts: 606 Nicky User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 3 m 26 sec
Reputation Power: 2
RE: displaying pages in php

I didn't understand your post. Are you trying to link from one page to another?

Reply With Quote
  #18  
Old February 27th, 2004, 04:09 AM
CodeKadiya CodeKadiya is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Colombo,Sri Lanka
Posts: 2,313 CodeKadiya User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
Send a message via Yahoo to CodeKadiya
RE: displaying pages in php

If I make clear what nawlej was talking about,

navbar.php
-------
Code:
<a href="apple.php">Apple</a> | <a href="grapes.php">Grapes</a> | <a href="mango.php">Mango</a> | 


main.php
--------
php Code:
Original - php Code
  1.  
  2. <?php
  3. include("navbar.php");
  4. // other codes
  5. ?>


apple.php
--------
php Code:
Original - php Code
  1.  
  2. <?php
  3. include("navbar.php");
  4. // other codes
  5. ?>

and so on...

Reply With Quote
  #19  
Old February 27th, 2004, 04:16 AM
sayee3k1 sayee3k1 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 27 sayee3k1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ok

thanks eric for replying back i will try that out...

i don't know whether it is very simple or too hard ...

ok

u r calling varoius pages in u r index.php page

one of them is blog.php now in that specific blog.php u have two links

funny | serious

when u click on funny then only the contents of the blog.php changes and r of what funny has.

and when u click on serious u get what ever contents serious has .....

suppose i do it like

<span class=current>funny</span> |
<a href=News.php?choice=1>serious</a> |

when i click on the serious it goes to a new page i want that only the blog.php should be refreshed
rest my menu header all shuld remain the same

I am clear or i am talking some non sense


Reply With Quote
  #20  
Old February 27th, 2004, 04:19 AM
sayee3k1 sayee3k1 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 27 sayee3k1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
oh ya

hey

yes i got it i have to make the nav.php and then call it

ok coool!!!!!!

Reply With Quote
  #21  
Old February 27th, 2004, 04:20 AM
sayee3k1 sayee3k1 is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 27 sayee3k1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
thanks everyone

thanks everyone

i will try that out and will bug u guys if needed

thanks

urs
sai

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > displaying pages in php


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway