rtfm
HA
Too bad the Doc For PHP is Crap
I've Molested the Ref guide and the Man soo many times, and most the time I can't find what I need
The comments are ok, but mostly confusing
and getting books for PHP, hahahahaah don't make me laugh
At least this site is RocKn and damn useful
anyways...
WHY IN THE HELL DO PEOPLE PUT <PRE> with the php code Like Idiots
<pre>
$text = nl2br(text);
$text = ereg_replace("\n", "", $text);
$text = ereg_replace("\r", "", $text);
</pre>
THAT IS WRONG!!!!!!!!!!!!!!!!
It should be
<pre>
<?
$text = nl2br(text);
$text = ereg_replace("\n", "", $text);
$text = ereg_replace("\r", "", $text);
?>
</pre>
OR
print("<pre>");
$text = nl2br(text);
$text = ereg_replace("\n", "", $text);
$text = ereg_replace("\r", "", $text);
print ("</pre>");
come on peoples, make ur code CLEAR..
Anyways
thanks for the Tip Peter..