Page 1 of 1

INCLUDING PHP FILES: CHARACTER PROBLEM

Posted: Mon Oct 22, 2007 8:54 am
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.

Posted: Mon Oct 22, 2007 9:01 am
by aaronhall
I guess the caps were meant to indicate that your post was more important than the others?

Posted: Mon Oct 22, 2007 10:55 am
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.