Ok grax, pero yo quiero insertar diferentes links, mira así tengo la funcion:
Código PHP:
function quitar($texto) {
$texto = trim($texto) ;
$texto = htmlspecialchars($texto) ;
$texto = str_replace(chr(160),'',$texto) ;
$texto = stripslashes($texto);
$texto = addslashes($texto);
$texto = str_replace('[b]','<b>', $texto);
$texto = str_replace('[/b]','</b>', $texto);
$texto = str_replace('[link="','<a href="', $texto);
$texto = str_replace('"]','" target=_blank>', $texto);
$texto = str_replace('[/link]','</a>', $texto);
return $texto ;
}
Lo que hago es enviar un formulario a una base de datos...