Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    Nascondere una cifra di variabile

    Ciao a tutti.

    Io ad esempio ho una variabile:
    $a = stanza1
    oppure
    $a = 1stanza

    Però all'echo ho bisogno di nascondere quell'1. NOn importa se sta all'inizio o alla fine del valore, l'importante è che l'echo me lo nasconda.

    C'è un modo per fare ciò??
    grazie
    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
    $stanza = '1stanza';
    echo preg_replace( "/^([0-9]{1,})?([^\a]+?)([0-9]{1,})?$/i", "\\2", $stanza );
    Formaldehyde a new Ajax PHP Zero Config Error Debugger

    WebReflection @WebReflection

  3. #3
    thank you very very much
    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.