quote:
Originally posted by saralk
in what context?
If you are talking about in php or something then code:
$text = str_replace(":)", "<img src='images/smilies/smile.gif' />", $text);
should work.
thanks, im guessing i can put this code at the head tag or iam i going to have to direct it to a php file??
quote:
Originally posted by chris4
If it's in HTML, you can always copy and paste?
Ctrl + c ... Copy
Ctrl + v ... Paste
thats what iuve been doin until now but i am using the smilies once evcery time i insert news the webpage, and there are about 10 different ones so c and v wont be that effective, thanks anyway!