Visualizzazione dei risultati da 1 a 3 su 3

Discussione: Campo testo in "html"

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

    Campo testo in "html"

    Ciao a tutti,
    ho un semplice script che mi inserisce delle news online. Vorrei che il campo testo dove inserisco la news accetti anche del codice html: come devo fare?


    Grazie


  2. #2
    che io sappia finchè non aggiungi questo, t accetta sempre codice html

    $_POST['Testo'] = &htmlspecialchars( $_POST['Testo'] );
    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
    Registrato dal
    Oct 2002
    Messaggi
    684
    Attualmente, seconza il codice che mi hai postato, se scrivo ad esempio

    Esempio

    mi stampa a video esattamente quanto scritto e non la parola in grassetto.

    Grazie

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.