how to save into a string an array of values passed used $POST

robbbbye

Nuovo Utente
28 Set 2015
1
0
0
Hello, I'm new here, I'm writing in this community because I have a problem which is bothering me since a week and I'm not able to solve it.

I have a form through I send an array of values using $POST.
The final goal I have to reach is to put all these values in a textfield, but every value have to be written in a new line. Because this content of this textfield has to be sent as an email.
The only solution I found so far is using the php function nl2br() but at the end of each line it leave an ugly <br /> and I can't obviously send an email with all those "<br />".

To make the thing simplier it would be enough to know how to put that array in a simple php string. Then it's easy to put it in the textfield..

I really need help, I can't get out of this problem alone.

Thank you so much for your help.
Roberto
 
Discussioni simili
Autore Titolo Forum Risposte Data
P SAVE FAILED popup Joomla 0
S [RETRIBUITO] Web Master Save the Children Italia Offerte e Richieste di Lavoro e/o Collaborazione 0
M [PHP] query string PHP 2
V [PHP] Preg Match e Uninitialized string offset PHP 4
O [PHP] CSV String o no? PHP 2
P Query string PHP 6
M replace string con jquery jQuery 1
felino [C#] String format: qualche dubbio! C/C++ 1
felino [C#] da Lista a string[] .NET Framework 1
M Message could not be sent. Mailer Error: Language string failed to load: Authentication failed PHP 2
T string split...da java a php PHP 2
O Modificare query string senza refresh di pagina PHP 7
C cast da int o double in String Java 2
otto9due Leggere valore da array multidimensionale a chiavi dinamiche PHP 1
M Passaggio variabili array php su un tasto jq PHP 3
M Somma inversa di Array C/C++ 2
MarcoGrazia Iterazione array PHP 5
N Passare array da php a javascript PHP 5
G Ordinare un array multidimensionale PHP 4
H Errore su array associativo PHP 1
K Array senza ripetizioni Presentati al Forum 4
A Gestione array multidimensionale PHP 6
otto9due Più chiavi in array con array_key_exists() PHP 0
M Array associativi php su 2 campi mysql PHP 10
T ALTRO PROBLEMA CON ARRAY PHP PHP 1
T PROBLEMA CON ARRAY PHP 8
L Sessione e array per utenti PHP 0
R Importazione csv su mysql tramite array PHP 2
elpirata Ricavare e stampare indirizzo ip da array associativo PHP 0
P Ciclare tra array di oggetti PHP 1
R Raggruppare valori array PHP 5
S Come conoscere la posizione di numeri in un array escludendo i doppioni PHP 4
D Popolare array PHP 8
R Includere elementi array fra apici PHP 1
P Array da foreach PHP 2
N Variabile di sessione è un array PHP7 PHP 3
R Scorporare array e recuperare record tabella PHP 10
A Contare gli elementi di un array PHP 13
A Importare array in mysql PHP 1
A Array di immagini Sviluppo app per Android 10
D Chiave unica in estrazione dati da array php PHP 0
D Spazio vuoto in un elemento di un array php PHP 2
S Come filtrare valori di un array PHP 4
mazman mysqli_query() mi ritorna un array vuoto anche se presente un record nella tabella PHP 13
A Non è un array e nemmeno un intero, che tipo di dato è? Javascript 1
max1974 PHP, Array Multidimensionale e Grafici PHP 22
S [PHP] Confrontare due array con valori quasi uguali PHP 2
MarcoGrazia [PHP] Unioni di due array con somma di valori PHP 6
R [PHP] Visualizzazione dati Array PHP 2
S [PHP] Eliminare doppioni array e rinumerare le posizioni PHP 2

Discussioni simili