Jump to content
Fórum Script Brasil
  • 0

shadowbox em href com php ID


tubino

Question

Bom tentei de tudo aqui mas não sei fazer usando o php.

só no html e css funciona assim

<a href="pagina.php" rel="shadowbox;width=740;height=600">  </a>

agora no codigo do php não funciona, como faço pra abrir a página id que o php chama em uma shadowbox?
o codigo php é esse

echo "<a href='index.php?gal=$columna[IDGALERIA]'>VER GALERIA</a>";

desde já agradeço

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Bom resolvi, basta mudar as aspas para simples, vou deixar aqui pra quem precisar. Fica assim:

echo "<div id='verfotosalbum'><a href='galeria.php?gal=$columna[IDGALERIA]' rel='shadowbox;width=740;height=600'><img src='img/veraba.png'  /></a></div>";
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
      152k
    • Total Posts
      651.6k
×
×
  • Create New...