INCLUDING PHP FILES: CHARACTER PROBLEM

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
txuky
Forum Newbie
Posts: 1
Joined: Mon Oct 22, 2007 4:50 am

INCLUDING PHP FILES: CHARACTER PROBLEM

Post by txuky »

Everah | Please use the proper bbCode tags when posting code in the forums.
Hello:

I'm trying to include some php files inside another php file, but it inserts some tab characters al the begining of the main php file (when I open its source code). Could you help me to erase this characters?

These are the files:

index.php

Code: Select all

<?php 
                   include ("BBDD.php");
                   include("varios.php");	
           ?>
BBDD.php

Code: Select all

<?php
            ?>
varios.php

Code: Select all

<?php
            ?>
Thanks!!
Everah | Please use the proper bbCode tags when posting code in the forums.
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

I guess the caps were meant to indicate that your post was more important than the others?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Try not tabbing the code so far that is being included. Or look for an area in your code where you are outputting.
Post Reply