login  Naam:   Wachtwoord: 
Registreer je!
 Overzicht:
Overzicht > PHP > Strings > strip_tags()

Gebruik:
strip_tags($bericht, tags)

Uitleg:
Je kan hiermee html-tags strippen, maar ook tags toelaten.


Voorbeeld:
<?php
$bericht 
"<I>Hallo, welkom op <B>Sitemasters</B></I>";

echo 
strip_tags($bericht); //dit zal dus het volgende laten zien: Hallo, welkom
op sitemasters

echo strip_tags($bericht'<B>'); //dit zal de <B> tag laten staan: Hallo,
welkom op <B>Sitemasters</B>

?>

Bijdragen :
Er zijn nog geen bijdragen.


 Overzicht
addslashes()
chop()
crypt()
echo()
htmlentities()
htmlspecialchars()
html_entity_decode()
md5()
nl2br()
number_format()
print()
stripslashes()
strip_tags()
strlen()
strpbrk()
strpos()
strrev()
strstr()
strtolower()
strtoupper()
str_repeat()
str_replace()
str_shuffle()
substr()
substr_count()
trim()
ucfirst()
ucwords()
wordwrap()



© 2002-2024 Sitemasters.be - Regels - Laadtijd: 0.005s