PDA

View Full Version : br code in php


TTayfun
01-16-2016, 03:31 PM
hello how can i insert br line break code in my php code:

$pm['message'];

Dave
01-16-2016, 03:40 PM
A HTML break?

$pm['message'] . '<br>';

or a newline?

$pm['message'] . "\n";

TTayfun
01-16-2016, 03:57 PM
i did but not worked can you do this again with this: with \n

$pm['message'] = $pm['message'];

Dave
01-16-2016, 04:07 PM
$pm['message'] .= "\n";

Should work.

TTayfun
01-16-2016, 04:12 PM
you are perfecttttt yesss worked. thank you so much...