This is a discussion on remove ^B characters within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi there, I've got a problem with ^B characters stored in some mysql tables. In the backup of my ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi there,
I've got a problem with ^B characters stored in some mysql tables. In the backup of my DB I read something like that with vi: INSERT INTO f_ergebnisse VALUES (.....,'^B25^B'......); What are these ^B characters? Blanks? So I've tried to remove them with this line in my php script when printing them out: while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) { $line = str_replace("/\r\n|\r|\n/", " ", $line); ... } But those annoying characters will not get removed. How do I get rid of them? Thanks in advance reiner |
![]() |
| Thread Tools | |
| Display Modes | |
|
|