Hi I am trying to create a PHP which collects name & address then save it as txt file but having hard time getting one of the variable to put information in one cell.
Textarea & PHP
5
Hi
I am trying to create a PHP which collects name & address then save it as txt file but having hard time getting one of the variable to put information in one cell.
The script is
Input1 Name
Input2 Tel No
Input3 Address
Input3 is textarea with may be more than 2 lines.
Output I want is all in one row.
Column 1 Name1
Column 2 Tel1
Column3 Address ( all lines as one cell)
So all of this is one line. Next line for next name and so.
I can get column1 and column2 to work but address columns gets all out of line. This is what I end up
Row1 Column1 Name1
Row1 Column2 Tel no
Row1 Column3 Address line1
Row2 Column3 Address line2
Row3 Column3 Address line3
Row3 Column1 Name2
Row3 Column2 Tel No
Is there a solution for this?
Thanks
Sukh
I am trying to create a PHP which collects name & address then save it as txt file but having hard time getting one of the variable to put information in one cell.
The script is
Input1 Name
Input2 Tel No
Input3 Address
Input3 is textarea with may be more than 2 lines.
Output I want is all in one row.
Column 1 Name1
Column 2 Tel1
Column3 Address ( all lines as one cell)
So all of this is one line. Next line for next name and so.
I can get column1 and column2 to work but address columns gets all out of line. This is what I end up
Row1 Column1 Name1
Row1 Column2 Tel no
Row1 Column3 Address line1
Row2 Column3 Address line2
Row3 Column3 Address line3
Row3 Column1 Name2
Row3 Column2 Tel No
Is there a solution for this?
Thanks
Sukh
- imarketstuff
- Rickmci
- [1] reply
- blackjack
- theIMgeek
Next Topics on Trending Feed
-
5