Visualizzazione dei risultati da 1 a 4 su 4

Discussione: Abilitare un dawnload

  1. #1
    Utente di HTML.it
    Registrato dal
    Oct 2002
    Messaggi
    752

    Abilitare un dawnload

    <td><div align="center"><%=if(Utenti.Fields.Item("abilitato ").Value)="true"then%>.mpg">[img]icon_wmv.gif[/img]</div></td>


    Perchè non va??
    Eppure dovrebbe funzionare.
    Comunque Grazie

  2. #2
    Utente di HTML.it L'avatar di Corwin
    Registrato dal
    Jan 2002
    Messaggi
    584
    if(Utenti.Fields.Item("abilitato").Value)= true then

    Se hai usato un campo si/no non ci vogliono gli apici...
    I don't wanna have to shout it out / I don't want my hair to fall out
    I don't wanna be filled with doubt / I don't wanna be a good boy scout
    I don't wanna have to learn to count / I don't wanna have the biggest amount
    I don't wanna grow up

  3. #3
    Utente di HTML.it
    Registrato dal
    Oct 2002
    Messaggi
    752

    non va

    <%=if(Utenti.Fields.Item("abilitato").Value)= true then%>

    eppure gli apici ci sono
    Comunque Grazie

  4. #4
    Utente di HTML.it
    Registrato dal
    Aug 2003
    Messaggi
    709
    In realtà non dovrebbe servirti neppure il pezzo "= true"
    codice:
    <%=if(Utenti.Fields.Item("abilitato").Value) then%>

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.