i'm doing a simple form so i can post news up on my site. i wan't to know:
(1) when i post a message through the form that uses double quotes or single quotes they are, odviusly, printed out like this \"\" or \'\' i tried:
$post = ereg_replace("\\", "", $post); but didn't work
how can i correct this?
(2) how can i make php detect that i want something to be a url... for instance me writing on the form:
[LINK]http://whatever.com/[LINK] and it printing out:
<a href="http://whatever.com/">
http://whatever.com/</a>
thanx guys
