|
#11
|
|||
|
|||
|
No it don't work. But it works with this one (found it here. searched for nl2br):
function pullout($string) { $string = stripslashes($string); $string = utf8_decode($string); $string = nl2br($string); return $string; } Now it works. Thank you all! Martin |
|
#12
|
|||
|
|||
|
please, if that is working for you, ok
but as this function is the general function to read the data from the database-table, let's be careful with just implementing some steps into so basic functions I worked on that function when I was going to assure that everything will be fully utf-compliant I would prefer to keept this function clean and add nl2br somewhere else only for the comments for instance... I will put that topic on my list for further testing, as this makes sense but should be tested in depth but: if that is working for you, ok |
|
#13
|
|||
|
|||
|
> let's be careful with just implementing some steps into so basic functions
yes, i read something like that in the other topic. I have 5 books about PHP, but I will never understand programming. I'm a designer. I'm happy, that this code is working. But I will have a look for later versions of pixelpost. > I will put that topic on my list for further testing That would be nice. Martin |
| Post Reply |
| Thread Tools | |
|
|