Zend - The PHP Company




Miscellaneous

Add Code


Addslashes  

Type: application
Added by: artmed
Entered: 12/01/2002
Last modified: 01/12/2001
Rating: - (fewer than 3 votes)
Views: 4785
Tired of tiping backslashes into the HTML-Code inside of PHP-code? Just drag and drop it into the Textbox and click. Ready.


<p><font face="Arial, Helvetica, sans-serif" size="3"><b>Add Backslashes:</b></font></p>
<? if(!$eingabe){ ?>
<form name="form1" method="post" action="">
  <textarea name="text" cols="80" rows="20"></textarea>
  <br>
  <input type="submit" name="Abschicken" value="Make it so!">
  <input type="hidden" name="eingabe" value="1">
</form>
<? }else{
$ausgabe addcslashes($text,"");
echo 
"<textarea name="text" cols="80" rows="20">$ausgabe</textarea>";
echo 
"<br><a href="addslashes.php"> Neue Eingabe</a>";
}
?>


Usage Example




Rate This Script





Search



This Category All Categories