Hi,
I have a retrieve page with output information. I want to allow users to take this information and send it to another totally different site for further analysis of their results. I have the script to do this and essentially it works. My problem is in formatting the information on my page to suit the format required in the page that the info is sent to.
The info that needs to be sent is in two parts. The $name and the $string. It must be in the format: >$name [hard break] $string .
I've tried: >$name<br>$string ', but the <br> is recognised as text and not code.
I've tried nl2br, which works ... but then the user has to hit Enter to put in the physical break (which means I have to explain this to the user ... too messy).
I've tried to define $name as $name2='$name<br>' and $send='$name2$string' and then echo send, but of course the info that gets put into the foreign page is just $name2$string .... obviously I'm not doing something right. [Don't laugh !!!]
Does anyone have an idea of what I could/should be doing? I'm using PHP, and the script that sends the data to the foreign site is cgi. There is nothing wrong with the script, just my inability to put a break in!!!
Thanks for any suggestions.
Cheers,
Giovanni