[PHP] Replace text

2001-10-27 Thread Daniel Harik
Hello guys function replace_text_smiley(){ global $comment; // To add a relation between a text smiley a an image smiley do this: // $faces[text smiley here] = img tag to image smile here; $faces[:)] = IMG SRC=\emoticons/smile.gif\; $faces[:P] = IMG SRC=\emoticons/tongue.gif\; $faces[:D]

[PHP] Replace text

2001-10-27 Thread Daniel Harik
Hello guys function replace_text_smiley(){ global $comment; // To add a relation between a text smiley a an image smiley do this: // $faces[text smiley here] = img tag to image smile here; $faces[:)] = IMG SRC=\emoticons/smile.gif\; $faces[:P] = IMG SRC=\emoticons/tongue.gif\; $faces[:D]

Re: [PHP] Replace text

2001-10-27 Thread Valentin V. Petruchek
What if pass some parameters to function - i mean not use global $comment but do like function replace_text_smiley($comment) - Original Message - From: Daniel Harik [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 28, 2001 12:20 AM Subject: [PHP] Replace text Hello guys

Re: [PHP] Replace text

2001-10-27 Thread DL Neil
Hello guys function replace_text_smiley(){ global $comment; // To add a relation between a text smiley a an image smiley do this: // $faces[text smiley here] = img tag to image smile here; $faces[:)] = IMG SRC=\emoticons/smile.gif\; $faces[:P] = IMG SRC=\emoticons/tongue.gif\;