In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > I have a PHP script which echos several lines, with \n newlines. > > I want to return this to the Shell Script, with > > return=$( bank.php ) > > and print $return out. However, it doesn't know how to print new > lines. Does anyone know how to do this? > > Thanks in advance > If yuou are outputting new line (\n) browsers will not recognise it as a line break; you need to use nl2br() to convert new lines to something that a browser will recognise - <BR>
-- David Robley Temporary Kiwi! Quod subigo farinam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php