Jump to content
Fórum Script Brasil
  • 0

Me batendo em erro Parse error: syntax error, unexpected '='


Felipe Nathan

Question

Galera, boa noite pra vocês! Estou quebrando cabeça com um erro durante algumas horas e ainda não consegui soluciona-lo...

Bom segue erro:

Parse error: syntax error, unexpected '=' in janela.php on line 96

Segue linha:

<td colspan="3" style="text-transform:uppercase;"> <div class="fb-comments" data-href="<? echo $pasta/janela.php?id=$dados[id]&cidade=$cidade ?>" data-num-posts="5" data-width="470" data-colorscheme="dark"></div></td>

Agradeço muito a ajuda.

Abraços

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

já descobri o erro...

a linha corrreta fica dessa forma:

<td colspan="3" style="text-transform:uppercase;"> <div class="fb-comments" data-href="<? echo "$pasta/janela.php?id=$dados[id]&cidade=$cidade" ?>" data-num-posts="5" data-width="470" data-colorscheme="dark"></div></td>

com as aspas depois do echo e antes do fechamento da tag ?>

Link to comment
Share on other sites

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...