so... i'm trying to remove all carriage returns in the input i get
from GET, and am trying to replace them with three dots...
however, this never seems to work... i'm still getting carriage
returns...
here's my script... any ideas as to what's wrong?:
<?php
$asdf = str_replace("%0 D%0A","...",$_G ET['text']);
print $asdf;
?>
<form method="GET" action="atest02 .php">
<textarea rows="7" name="text" cols="29"></textarea>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</form><p>
from GET, and am trying to replace them with three dots...
however, this never seems to work... i'm still getting carriage
returns...
here's my script... any ideas as to what's wrong?:
<?php
$asdf = str_replace("%0 D%0A","...",$_G ET['text']);
print $asdf;
?>
<form method="GET" action="atest02 .php">
<textarea rows="7" name="text" cols="29"></textarea>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</form><p>
Comment