Question on PhP tut...
 
Notifications
Clear all

Question on PhP tutorials

6 Posts
4 Users
0 Reactions
3,206 Views
(@chris)
Posts: 77
Trusted Member
Topic starter
 

I know how to add includes into the main.php along with includes from the header, body and footer.php but does anybody know of a simple php tutorial that can have different links inside the footer section pointing outside the website?

TIA


I charge into the light and need only yours to find my way. Archive of One: Sam Emme Tales

 
Posted : 17/12/2007 12:36 am
 Elle
(@jenny)
Posts: 594
Honorable Member
 

I'm not sure on what you mean -- do you have examples?


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 17/12/2007 8:26 am
(@carissa)
Posts: 791
Member Moderator
 

I think I know what you mean, but include doesn't work like that. It will actually include the page's content so if you include a link, it will try to put the content from that page onto your page. To have a list of links, you'd just need to use html.


 
Posted : 17/12/2007 12:18 pm
(@eyedam)
Posts: 64
Trusted Member
 

Are you talking about eFiction? If not, can you give us an example of your footer include, so we could in return give examples of links?


The wireless music box has no imaginable commercial value. Who would pay for a message sent to nobody in particular? (1920)

 
Posted : 17/12/2007 4:14 pm
(@chris)
Posts: 77
Trusted Member
Topic starter
 

Sorry, I been so busy and now I am dealing with a virus on the computer.

Jenny: I'll try something else.

Example: I have a livejournal but I have a website that I use for upload stories now each file is a story but I want at the end of each story, possible the footer to contain the link to go to an individual post on livejournal so the people on my flist can leave comment on that story.

Did that make sense?

Carissa: Could I have a include inside a div and add the link between it : <div><?php include("file.php"); ?>my link</div>

Eyedam: Not Efiction. Look at the previous answers to the others that might give you an idea what I  meant.  :mrgreen:


I charge into the light and need only yours to find my way. Archive of One: Sam Emme Tales

 
Posted : 02/01/2008 3:24 am
 Elle
(@jenny)
Posts: 594
Honorable Member
 

I'm still confused. D:

Try out your example and see what happens? πŸ˜›


archive: dramione.org
site: accio.nu

Available for skin/mod commission! πŸ™‚

 
Posted : 13/01/2008 11:41 am
Share: