![]() |
|
#1
|
|||
|
|||
Includeshi all, im new here because i thought this would be the best place to get some help on includes. I have the includes code in my page, because I want a side bar [that will always be updated with info] as an include. But for some reason the sidebar isnt showing up. Im not sure what Im doing wrong as I have the code correct. I wont paste my html code yet in case no-one can help me. I hope someone out there can help me though, because its driving me nuts! Please tell me if you can help and I'll post my code (or email you the code if youre willing to help me on a one-to-one basis.
Thanks! |
|||
|
#2
|
|||
|
|||
|
Hi Dawn,
are the includes ssi or php or something else? A code snippet is always helpful. |
|
#3
|
|||
|
|||
|
Quote:
Its php. Quote:
i know that the page that has the includes php in, has to be .php and ive done that, but its not displaying. any help would be well appreicated. |
|
#4
|
|||
|
|||
|
You might try:
Code:
You also might try renaming sidebar.txt to sidebar.inc - I have seen some webservers not picking up some extensions. And make sure that sidebar.txt is in the same folder as the PHP file |
|
#5
|
|||
|
|||
|
Quote:
Hi Dawn, I just recently started using include files. Your include file is .php, right? And the page you're putting it on is .html, right? Change the .html to .php. I just found away around this today. Check out this info at http://www.desilva.biz/php/phpinhtml.html Hope I was able to help. Jenni |
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Zen Interactive - Free & Pay Plans (Private & Business) | zidev | Web Hosting Advertisements & Offers | 0 | 02-Nov-2004 10:29 |
| php includes | misunderstood | MySQL / PHP Forum | 2 | 26-Jun-2004 07:47 |
| link error? | pablowablo | C++ Forum | 14 | 19-Jun-2004 11:00 |
| Including Includes | Guest | Web Design Forum | 1 | 16-Aug-2001 21:31 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The