Ok, i have a string submitted from a form which i apply the following on.

$meddelande = $arr_reques['meddelande'];

$addkommentar = addslashes($meddelande);

$entry = ereg_replace("<[^>]*>", "",$addkommentar);

However, if $meddelande is a single , $addkommentar and $entry is also a single slash.

What's wrong here?