|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#16
|
|||
|
|||
|
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'); |
|
#17
|
||||
|
||||
|
RE: displaying pages in php
I didn't understand your post. Are you trying to link from one page to another?
|
|
#18
|
|||
|
|||
|
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 -------- apple.php -------- and so on... |
|
#19
|
|||
|
|||
|
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 |
|
#20
|
|||
|
|||
|
oh ya
hey
yes i got it i have to make the nav.php and then call it ok coool!!!!!! |
|
#21
|
|||
|
|||
|
thanks everyone
thanks everyone
i will try that out and will bug u guys if needed thanks urs sai |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > displaying pages in php |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|