Pagina 1 di 4 1 2 3 ... ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 36

Discussione: Blocco temporaneo

  1. #1

    Blocco temporaneo

    Salve!

    Ho creato un blocco di una funzione per tempo determinato da una query!!

    così:
    Codice PHP:
    $query "SELECT Gap FROM armi WHERE Arma='$row[Ultima_Arma]'"$result mysql_query($query$db);
    $arm mysql_fetch_array($result);


    if((
    time() - $wer[Attacco]) < $arm[Gap]) { echo"<font color='green'>[b]Non puoi ancora attaccare!</font>[/b]"; }
    else {
    echo 
    "<center>
    <form method=post action='verifica_attacca.php'>
    [b]Pg:[/b] <select name='Nick'>"
    ; } ?> 
    in qualsiasi momento mi fa svolgere il form, il blocco non c'è mai!!
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  2. #2
    se provo a fare il contrario ovvero
    >
    funziona perchè il form non lo fa partire mai tranne in quell'arco di secondi!!
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  3. #3
    Utente di HTML.it L'avatar di chris
    Registrato dal
    Sep 1999
    Messaggi
    1,568
    che cosa danno?
    codice:
    echo time(), "
    \n",
         $wer[Attacco], "
    \n",
         (time() - $wer[Attacco]), "
    \n",
         $arm[Gap];
    "Nei prossimi tre anni col mio governo vogliamo vincere anche il cancro, che colpisce ogni anno 250.000 italiani e riguarda quasi due milioni di nostri concittadini"

  4. #4
    1093615769

    1093615769
    50

    se al posto di Time() metto NOW()???
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  5. #5
    Utente di HTML.it L'avatar di chris
    Registrato dal
    Sep 1999
    Messaggi
    1,568
    mi sembra tu abbia trovato il tuo problema
    "Nei prossimi tre anni col mio governo vogliamo vincere anche il cancro, che colpisce ogni anno 250.000 italiani e riguarda quasi due milioni di nostri concittadini"

  6. #6
    non va NOW().

    mi da fatal error!!
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  7. #7
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  8. #8
    Utente di HTML.it L'avatar di chris
    Registrato dal
    Sep 1999
    Messaggi
    1,568
    e a che ti serve una funzione che non esiste?
    "Nei prossimi tre anni col mio governo vogliamo vincere anche il cancro, che colpisce ogni anno 250.000 italiani e riguarda quasi due milioni di nostri concittadini"

  9. #9
    non capisco!

    cosa devo mettere?
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  10. #10
    ah forse ho capito!!!

    non mi compare $wer[Attacco]
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

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.