|
A Quick PHP Question...
I need to combine some strings and send them to a page with a multi-line form field in it (hope that makes sense). In itself this is simple and so's the problem...
I want to insert a line break betweek each bit of data (it's an address field and I want each piece on its own line). How to do it? Obviously being an form field <br \> won't work so what do I use? Is there an escape character?
for example I want:
$ addressfield = $ street . (new line) . $ city . (newline) etc
I figure someone here must know how to do something so simple. It's such a daft thing to not know how to do that finding how is proving impossible.
__________________
|