Ask a Question related to PHP Notes, Design and Development.
-
alindeman@php.net #1
note 33831 deleted from function.nl2br by alindeman
Note Submitter: [email]desi@webzone.sk[/email]
----
Unified newline:
<?
preg_replace("/\\r\\n|\\r|\\n<br>|<br>\\n|<br>/i", "\\n", $string);
?>
alindeman@php.net Guest
-
note 33962 deleted from function.gd-info by alindeman
Note Submitter: Ron ---- Thanks, that worked for me, much appreciated... :) -
note 33770 deleted from function.putenv by alindeman
Note Submitter: ---- fjfsduyrccxurtjjokertdsncnudur uijjjghdfsyweykjjrgsdsdcsuhwj -
note 33633 deleted from function.defined by alindeman
Note Submitter: crouze_j-``at''-epitech.net ---- Pour la traduction francaise, ne pas lire ``defined -- (PHP 3, PHP 4 ) defined --... -
note 33601 deleted from function.trigger-error by alindeman
Note Submitter: ---- Who comes up with these function names? "trigger_error"? It's hardly going to tempt programmers, those laziest of beasts,... -
note 33584 deleted from function.headers-sent by alindeman
Note Submitter: sybren@thirdtower.com ---- This will only work in the <head> tag of the HTML. In other words: it's highly unlikely that it'll...



Reply With Quote

