★ wanayoo — archive 1999 http://www.devshed.com/Talk/Forums/Forum5/HTML/001724.htmlNouvelle recherche | Portail wanayoo
DevShed Menu
* DevShed Home
* Developer News
* DevShed Brain Dump




UBBFriend: Email This Page to Someone!
  DevShed Discussion Forums
  PHP
  Linking files

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Linking files
rgnithya
Junior Member
posted July 02, 2000 08:57 AM     Click Here to See the Profile for rgnithya   Click Here to Email rgnithya     Edit/Delete Message Reply w/Quote
Hi all,
i'm developing a website. I've developed some independent modules and now I wanted to link them. Can anyone suggest me how to link the all .phtml files? Is there any other command to call another .phtml file other than Header?

Thanks in advance

Nithya

kaasgaard
Member
posted July 04, 2000 07:57 AM     Click Here to See the Profile for kaasgaard   Click Here to Email kaasgaard     Edit/Delete Message Reply w/Quote
Hi

I'm not sure if this is what you're asking for, but you can include files in php:
include("myFunctions.inc.php");

This way you can share common files such as a functions file.

If this is not what you had in mind try to specify the problem.

Regards

// Martin

All times are MST (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | DevShed.com

Copyright © 1997-2000 ngenuity. All rights reserved.

Powered by: Ultimate Bulletin Board, Version 5.41a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.