Jump to content
Fórum Script Brasil
  • 0

Mensagem de Erro !


emadson

Question

Amigos, o que quer dizer este erro? aparentemente tá tudo ok.

CODIGO:

<?php

include("conecta.php");

$query = "SELECT * FROM noticias ORDER BY id_noticia DESC ";

$resultado = mysql_query($query) or die(mysql_error());

while ($row = mysql_fetch_array($resultado)) {

$titulo_noticia = $row['titulo_noticia'];

$texto_noticia = $row['texto_noticia'];?>

<TABLE class=texto cellSpacing=4 cellPadding=0 width="90%" align=center border=0>

<TR>

<TD vAlign=top align=left colSpan=2>

<? echo $titulo_noticia; ?> - <? echo $texto_noticia; ?>

</TD>

</TR>

</TABLE>

<? }?>

ERRO:

( ! ) Parse error: syntax error, unexpected $end in C:\wamp\www\teste\noticias.php on line 25

Call Stack

# Time Memory Function Location

1 0.0010 367528 {main}( ) ..\index.php:0

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652k
×
×
  • Create New...