?> showing up in PHP output?

  • Thread starter Thread starter nacho
  • Start date Start date
N

nacho

Guest
You know how PHP goes between <? and ?> ? Ok, at the top of my page, I've got:

<? include 'inc.php'; ?>

Well, the code is executed properly, but the HTML output begins with ?> for some reason.
The weird part is this works fine on my localhost, the problem only occurs when I upload everything to the server.
 
Back
Top