-2
I’m in trouble in <?php echo include_once ("includes/right.php");?>
he of the one margin-top
undesirable, how could I solve this problem ?
-2
I’m in trouble in <?php echo include_once ("includes/right.php");?>
he of the one margin-top
undesirable, how could I solve this problem ?
0
Removes the echo
. I don’t know why he’s there. To include a file is enough <?php include_once("caminho/para/o/ficheiro.php");?>
.
EDIT Code I mentioned in the commentary.
<div id="content">
<div id="left">
<ul>
<li><div class="box_left">
<h1>Entre em Contato</h1>
</div></li>
</ul>
</div>
<div id="right"><?phpinclude ("includes/right.php"); ?></div>
<?php
include_once ("includes/footer.php");
?>
</div><!-- content -->
I’m sorry, buddy, but there’s no more echo
, only the <?php include_once("includes/right.php");?>
Then it gives a space because it also has a space in the html code. Put like this.
Look at the code on the part that’s giving the margin-top
<div id="right">
 <?php 
 include ("includes/right.php");
 ?>
 </div>
I updated the answer. Try this.
same thing, check the link on my website https://camiocomjesuscristo.000webhostapp.com/new2/
did not solve the problem, check the link https://camiocomjesuscristo.000webhostapp.com/new2/
I managed to solve by putting in the encoding UTF-8 sem BOM
grateful for the friendly attention
Browser other questions tagged php css
You are not signed in. Login or sign up in order to post.
What are the codes of the current page and the one that is being included?
– Woss