Working with different files

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
cubeltd4
Forum Newbie
Posts: 5
Joined: Wed Sep 01, 2004 9:54 am
Location: Belgium

Working with different files

Post by cubeltd4 »

Hello People,

If you work with different files like header.php footer.php leftcolumn.php...
and you use echo for the html tags in every file do you always start from the begin with the echo "<html tag>"; or do you work liek this on the next files echo " <where the previous tag ends>
User avatar
MarK (CZ)
Forum Contributor
Posts: 239
Joined: Tue Apr 13, 2004 12:51 am
Location: Prague (CZ) / Vienna (A)
Contact:

Post by MarK (CZ) »

I'm a bit confused what you're asking..?
User avatar
Sema
Forum Commoner
Posts: 34
Joined: Fri Sep 03, 2004 12:43 pm
Location: Aalborg, Denmark

Post by Sema »

hmmmm.... give an exampel :?:
Draco_03
Forum Regular
Posts: 577
Joined: Fri Aug 15, 2003 12:25 pm
Location: Montreal, Canada

Post by Draco_03 »

If you talking about including different file in one main file, well no you don't start html each time. because inlcuing means adding the "exact" code you put in your page (to BE included)and the code is put "exactly" where you include it on the mainpage
(using the include ("something.php");)
Post Reply