Pagina 2 di 2 primaprima 1 2
Visualizzazione dei risultati da 11 a 14 su 14
  1. #11
    è +veloce fare uno switch cercando o la prima variabile o la seconda o la terza che fare tre if per variabile per 20 possibilità ciascuna.Vabbé...ciaociao e grazie^____^
    GdR Online - http://lenar.it/
    Yesterday is history. Tomorrow is mystery.
    Today is a gift. That's why it's called the present

  2. #12
    Giusto per curiosità puoi postare il codice che hai usato per lo switch?
    eCommerceRS.NET - Commerciante, vendi on-line!
    Il mio nick è mircov e non mirco!!!

  3. #13
    a te:

    switch($scheda['banda'] || $scheda[0]){

    case 0: $scheda['banda'] = "Mar";
    $banda="Mar";
    $dir="mar"; break;
    case 1: $scheda['banda'] = "Mortis";
    $banda="Mortis";
    $dir="mors"; break;
    default:
    $scheda['banda'] = "Niente";
    }

    ti ho risparmiato tutti i case fino a 25, ti ho messo soltanto i primi 2.
    GdR Online - http://lenar.it/
    Yesterday is history. Tomorrow is mystery.
    Today is a gift. That's why it's called the present

  4. #14
    Mea culpa, scusami!
    eCommerceRS.NET - Commerciante, vendi on-line!
    Il mio nick è mircov e non mirco!!!

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 © 2026 vBulletin Solutions, Inc. All rights reserved.